public function WorkflowInterface::getStates in State Machine 8
Gets the workflow states.
Return value
\Drupal\state_machine\Plugin\Workflow\WorkflowState[] The states, keyed by state ID.
1 method overrides WorkflowInterface::getStates()
- Workflow::getStates in src/
Plugin/ Workflow/ Workflow.php - Gets the workflow states.
File
- src/
Plugin/ Workflow/ WorkflowInterface.php, line 42
Class
- WorkflowInterface
- Defines the interface for workflows.
Namespace
Drupal\state_machine\Plugin\WorkflowCode
public function getStates();