You are here

public function StateItemInterface::getLabel in State Machine 8

Gets the label of the current state.

Return value

string The label of the current state.

1 method overrides StateItemInterface::getLabel()
StateItem::getLabel in src/Plugin/Field/FieldType/StateItem.php
Gets the label of the current state.

File

src/Plugin/Field/FieldType/StateItemInterface.php, line 48

Class

StateItemInterface
Defines the interface for state field items.

Namespace

Drupal\state_machine\Plugin\Field\FieldType

Code

public function getLabel();