Skip to content

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.

View source

Public Methods

MethodDescription
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.

View source

Returns

craft\models\FieldLayout

getHandle()

Since
5.0.0

Returns the provider’s handle, which could be used to identify custom fields with ambiguous handles.

View source

Returns

string, null