...
Common Attributes
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Attributes
name | type | required | default value | description |
---|---|---|---|---|
model | string | yes | none | Name of corresponding model related to this field. |
joinField | string | yes | none | name of field from corresponding model that will be used as join field. Type of this field must be "belongsTo". |
plugin | string | no | none | Name of plugin where the corresponding model belongs. |
cascade | nullify/delete | no | none | Desribes behaviour when the entity is deleted: 'delete' means that all entities related through this field will be also deleted, 'nullify' means that field value will be set to null. |
copyable | boolean | no | false | When this option is set tu 'true', all entities related to defined entity by this field will be copied when main entity is copied, so new entity creaded by copy operation will be related to copied entities instead of oryginal ones. |
...