You are here

public property WorkflowType::$forms in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/Annotation/WorkflowType.php \Drupal\workflows\Annotation\WorkflowType::forms
  2. 9 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:

  • 'configure' (\Drupal\workflows\WorkflowTypeInterface::PLUGIN_FORM_KEY)
  • 'state' (\Drupal\workflows\StateInterface::PLUGIN_FORM_KEY)
  • 'transition' (\Drupal\workflows\TransitionInterface::PLUGIN_FORM_KEY)

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 = [];