Skip to content

Chippable ​

Type
Interface
Namespace
craft\base
Extends
craft\base\Identifiable
Implemented by
craft\base\ElementInterface, craft\base\FieldInterface, craft\models\CategoryGroup, craft\models\EntryType, craft\models\Volume
Since
5.0.0

Chippable defines the common interface to be implemented by components that can be displayed as chips in the control panel.

View source

Public Methods ​

MethodDescription
get()Returns a component by its ID.
getId()Returns the ID of the component, which should be used as the value of hidden inputs.
getUiLabel()Returns what the component should be called within the control panel.

get() ​

Returns a component by its ID.

View source

Arguments ​

Returns ​

static, null

getUiLabel() ​

Returns what the component should be called within the control panel.

View source

Returns ​

string