FieldTypeInterface
Interface for a Schema Field.
Table of Contents
Methods
- __set_state() : FieldTypeInterface
- getConfiguration() : array<string|int, mixed>
- getDefaultValue() : mixed
- getDisplayConditions() : array<string|int, mixed>|string
- getLabel() : string
- getName() : string
- getSoftReferenceKeys() : array<string|int, mixed>|false
- getTranslationBehaviour() : FieldTranslationBehaviour
- getType() : string
- hasDefaultValue() : bool
- isNullable() : bool
- isRequired() : bool
- isSearchable() : bool
- isType() : bool
- supportsAccessControl() : bool
Methods
__set_state()
public
static __set_state(array<string|int, mixed> $state) : FieldTypeInterface
Parameters
- $state : array<string|int, mixed>
Return values
FieldTypeInterfacegetConfiguration()
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getDefaultValue()
public
getDefaultValue() : mixed
getDisplayConditions()
public
getDisplayConditions() : array<string|int, mixed>|string
Return values
array<string|int, mixed>|stringgetLabel()
public
getLabel() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetSoftReferenceKeys()
public
getSoftReferenceKeys() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|falsegetTranslationBehaviour()
public
getTranslationBehaviour() : FieldTranslationBehaviour
Return values
FieldTranslationBehaviourgetType()
public
getType() : string
Return values
stringhasDefaultValue()
public
hasDefaultValue() : bool
Return values
boolisNullable()
public
isNullable() : bool
Return values
boolisRequired()
public
isRequired() : bool
Return values
boolisSearchable()
public
isSearchable() : bool
Return values
boolisType()
public
isType(TableColumnType ...$columnType) : bool
Parameters
- $columnType : TableColumnType
Return values
boolsupportsAccessControl()
public
supportsAccessControl() : bool