public function StateItemInterface::getId in State Machine 8
Gets the current state ID.
Return value
string The current state ID.
1 method overrides StateItemInterface::getId()
- StateItem::getId in src/
Plugin/ Field/ FieldType/ StateItem.php - Gets the current state ID.
File
- src/
Plugin/ Field/ FieldType/ StateItemInterface.php, line 40
Class
- StateItemInterface
- Defines the interface for state field items.
Namespace
Drupal\state_machine\Plugin\Field\FieldTypeCode
public function getId();