public function StateItemInterface::getTransitions in State Machine 8
Gets the allowed transitions for the current state.
Return value
\Drupal\state_machine\Plugin\Workflow\WorkflowTransition[] The allowed transitions, keyed by transition ID.
1 method overrides StateItemInterface::getTransitions()
- StateItem::getTransitions in src/
Plugin/ Field/ FieldType/ StateItem.php - Gets the allowed transitions for the current state.
File
- src/
Plugin/ Field/ FieldType/ StateItemInterface.php, line 64
Class
- StateItemInterface
- Defines the interface for state field items.
Namespace
Drupal\state_machine\Plugin\Field\FieldTypeCode
public function getTransitions();