public function StateItemInterface::isTransitionAllowed in State Machine 8
Gets whether the given transition is allowed.
Parameters
string $transition_id: The transition ID.
Return value
bool TRUE if the given transition is allowed, FALSE otherwise.
1 method overrides StateItemInterface::isTransitionAllowed()
- StateItem::isTransitionAllowed in src/
Plugin/ Field/ FieldType/ StateItem.php - Gets whether the given transition is allowed.
File
- src/
Plugin/ Field/ FieldType/ StateItemInterface.php, line 75
Class
- StateItemInterface
- Defines the interface for state field items.
Namespace
Drupal\state_machine\Plugin\Field\FieldTypeCode
public function isTransitionAllowed($transition_id);