WorkflowType::$forms

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

A list of optional form classes implementing PluginFormInterface.

Forms which will be used for the workflow UI are:

Type: array

See also

\Drupal\Core\Plugin\PluginWithFormsInterface

\Drupal\Core\Plugin\PluginFormInterface

\Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase

\Drupal\workflows\Plugin\WorkflowTypeStateFormBase

\Drupal\workflows\Plugin\WorkflowTypeTransitionFormBase

\Drupal\workflows\WorkflowTypeInterface::PLUGIN_FORM_KEY

\Drupal\workflows\StateInterface::PLUGIN_FORM_KEY

\Drupal\workflows\TransitionInterface::PLUGIN_FORM_KEY

File

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

Class

WorkflowType
Defines a Workflow type annotation object.

Namespace

Drupal\workflows\Annotation

Code

public $forms = [];

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