Skip to content

Flags Reference

ClassnameDescription
AllowEmptyStringFlag a text column that an empty string should not be considered as null
AllowHtmlIn case a column is allowed to contain HTML-esque data. Beware of injection possibilities
ApiAwareMake this property exposed by the API
CascadeDeleteIn case the referenced association data will be deleted, the related data will be deleted too
ComputedThe value is computed by indexer or external systems and cannot be written using the DAL.
DeprecatedFlags "Deprecated"
ExtensionDefines that the data of this field is stored in an Entity::$extension and are not part of the struct itself.
InheritedDefines that the data of this field can be inherited by the parent record
PrimaryKeyFlags "PrimaryKey"
ReadProtectedFlags "ReadProtected"
RequiredFlags "Required"
RestrictDeleteAssociated data with this flag, restricts the delete of the entity in case that a record with the primary key exists.
ReverseInheritedFlags "ReverseInherited"
RuntimeDefines that the data of the field will be loaded at runtime by an event subscriber or other class. Used in entity extensions for plugins or not directly fetchable associations.
SearchRankingDefines the weight for a search query on the entity for this field
SetNullOnDeleteIn case the referenced association data will be deleted, the related data will be set to null and an Written event will be thrown
SinceFlags "Since"
WriteProtectedFlags "WriteProtected"