You are here

public function WorkflowAddForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}