FieldTypeService
FieldTypeService.php
:
16
An implementation of this class provides access to FieldTypes.
Tags
Methods¶
getFieldType() ¶
FieldTypeService.php
:
34
Returns the FieldType registered with the given identifier.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
Tags
getFieldTypes() ¶
FieldTypeService.php
:
23
Returns a list of all field types.
|
|
Return values
array<string|int, FieldType>
hasFieldType() ¶
FieldTypeService.php
:
43
Returns if there is a FieldType registered under $identifier.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
bool