You are here

public function WorkflowStateAddForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/Form/WorkflowStateAddForm.php \Drupal\workflows\Form\WorkflowStateAddForm::__construct()

Creates an instance of WorkflowStateEditForm.

Parameters

\Drupal\Core\Plugin\PluginFormFactoryInterface $pluginFormFactory: The plugin form factory.

File

core/modules/workflows/src/Form/WorkflowStateAddForm.php, line 33

Class

WorkflowStateAddForm
Entity form variant for adding workflow states.

Namespace

Drupal\workflows\Form

Code

public function __construct(PluginFormFactoryInterface $pluginFormFactory) {
  $this->pluginFormFactory = $pluginFormFactory;
}