State::$workflow

Same name in other branches
  1. 8.9.x core/modules/workflows/src/State.php \Drupal\workflows\State::workflow
  2. 10 core/modules/workflows/src/State.php \Drupal\workflows\State::workflow
  3. 11.x core/modules/workflows/src/State.php \Drupal\workflows\State::workflow

The workflow the state is attached to.

Type: \Drupal\workflows\WorkflowTypeInterface

File

core/modules/workflows/src/State.php, line 15

Class

State
A value object representing a workflow state.

Namespace

Drupal\workflows

Code

protected $workflow;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.