WorkflowType::$required_states

Same name in this branch
  1. 11.x core/modules/workflows/src/Attribute/WorkflowType.php \Drupal\workflows\Attribute\WorkflowType::required_states
Same name and namespace in other branches
  1. 9 core/modules/workflows/src/Annotation/WorkflowType.php \Drupal\workflows\Annotation\WorkflowType::required_states
  2. 8.9.x core/modules/workflows/src/Annotation/WorkflowType.php \Drupal\workflows\Annotation\WorkflowType::required_states
  3. 10 core/modules/workflows/src/Attribute/WorkflowType.php \Drupal\workflows\Attribute\WorkflowType::required_states
  4. 10 core/modules/workflows/src/Annotation/WorkflowType.php \Drupal\workflows\Annotation\WorkflowType::required_states

States required to exist.

Normally supplied by WorkflowType::defaultConfiguration().

Type: array

File

core/modules/workflows/src/Annotation/WorkflowType.php, line 46

Class

WorkflowType
Defines a Workflow type annotation object.

Namespace

Drupal\workflows\Annotation

Code

public $required_states = [];

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