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\Section, 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.
Public Methods ​
Method | Description |
---|---|
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.
Arguments ​
Returns ​
static
, null
getUiLabel()
​
Returns what the component should be called within the control panel.