You are here

public function StateItemInterface::getWorkflow in State Machine 8

Gets the workflow used by the field.

Return value

\Drupal\state_machine\Plugin\Workflow\WorkflowInterface|false The workflow, or FALSE if unknown at this time.

1 method overrides StateItemInterface::getWorkflow()
StateItem::getWorkflow in src/Plugin/Field/FieldType/StateItem.php
Gets the workflow used by the field.

File

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

Class

StateItemInterface
Defines the interface for state field items.

Namespace

Drupal\state_machine\Plugin\Field\FieldType

Code

public function getWorkflow();