function WorkflowAddForm::__construct

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/Form/WorkflowAddForm.php \Drupal\workflows\Form\WorkflowAddForm::__construct()
  2. 10 core/modules/workflows/src/Form/WorkflowAddForm.php \Drupal\workflows\Form\WorkflowAddForm::__construct()
  3. 11.x core/modules/workflows/src/Form/WorkflowAddForm.php \Drupal\workflows\Form\WorkflowAddForm::__construct()

WorkflowAddForm constructor.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $workflow_type_plugin_manager: The workflow type plugin manager.

File

core/modules/workflows/src/Form/WorkflowAddForm.php, line 32

Class

WorkflowAddForm
Form for adding workflows.

Namespace

Drupal\workflows\Form

Code

public function __construct(PluginManagerInterface $workflow_type_plugin_manager) {
    $this->workflowTypePluginManager = $workflow_type_plugin_manager;
}

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