FieldLayoutProviderInterface ​
- Type
- Interface
- Namespace
- craft\base
- Implemented by
- craft\elements\GlobalSet, craft\models\CategoryGroup, craft\models\EntryType, craft\models\TagGroup, craft\models\Volume, craft\services\Addresses
- Since
- 4.5.0
FieldLayoutProviderInterface defines the common interface to be implemented by classes which provide a field layout.
Public Methods ​
Method | Description |
---|---|
getFieldLayout() | Returns the field layout defined by this component. |
getHandle() | Returns the provider’s handle, which could be used to identify custom fields with ambiguous handles. |
getFieldLayout()
​
Returns the field layout defined by this component.
Returns ​
getHandle()
​
- Since
- 5.0.0
Returns the provider’s handle, which could be used to identify custom fields with ambiguous handles.