Base SPI Value object.
Properties¶
$defaultValue
¶
FieldDefinition.php
:
112
Default value of the field.
|
|
$description
¶
FieldDefinition.php
:
39
Description.
|
|
$fieldGroup
¶
FieldDefinition.php
:
53
Field group name.
|
|
$fieldType
¶
FieldDefinition.php
:
67
String identifier of the field type.
|
|
$fieldTypeConstraints
¶
FieldDefinition.php
:
105
A map of field type constraints.
|
|
2 constraints are available (as keys):
- validators
- fieldSettings.
$id
¶
FieldDefinition.php
:
25
Primary key.
|
|
$identifier
¶
FieldDefinition.php
:
46
Readable string identifier of a field definition.
|
|
$isInfoCollector
¶
FieldDefinition.php
:
95
Just a flag.
|
|
$isRequired
¶
FieldDefinition.php
:
81
Is the field required.
|
|
$isSearchable
¶
FieldDefinition.php
:
119
|
|
Tags
$isThumbnail
¶
FieldDefinition.php
:
88
If the field type can be a thumbnail.
|
|
$isTranslatable
¶
FieldDefinition.php
:
74
If the field type is translatable.
|
|
$mainLanguageCode
¶
FieldDefinition.php
:
126
Based on mainLanguageCode of contentType.
|
|
$name
¶
FieldDefinition.php
:
32
Name.
|
|
$position
¶
FieldDefinition.php
:
60
Position.
|
|
Methods¶
__construct()
¶
FieldDefinition.php
:
131
Constructor.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
getProperties()
¶
ValueObject.php
:
53
Returns list of available properties' names.
|
|
Override to add dynamic properties.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<int, string> | [] |
Additional dynamic properties exposed on the object |
Return values
array<int, string>
Attributes
- #[Ignore]