One to One Relation


One to One Relation field allows you to create a one-to-one relation between two modules.

This type of relationship is also referred to as One To One in the Laravel Eloquent ORM documentation. As Photon CMS extends Laravel Eloquent ORM in it's models, getting familiar with how Laravel Eloquent works is an advantage.

Table of Contents
  1. One to One Relation Field Appearance
  2. ‚ÄčOne to One Field Options

One to One Relation Field Appearance

‚ÄčOne to One Field Options

One to One Field features the following settings:

  1. Field Type
  2. Field Name
  3. Relation Name
  4. Related Module
  5. Tooltip Text
  6. Validation Rules
  7. Default Value
  8. Editable
  9. Disabled
  10. Hidden
  11. Is System
  12. Nullable
  13. Indexed
  14. Lazy Loading
  15. Can Create Search Choice
  16. Flatten To Optgroups
  17. Is Active Entry Filter

Sign-up to stay informed about news and updates.