Skip to content

Identifiable ​

Type
Interface
Namespace
craft\base
Implemented by
craft\base\Chippable
Since
5.0.0

Identifiable defines the common interface to be implemented by components that can be identified by an ID.

View source

Public Methods ​

MethodDescription
getId()Returns the ID of the component, which should be used as the value of hidden inputs.

getId() ​

Returns the ID of the component, which should be used as the value of hidden inputs.

View source

Returns ​

string, integer, null