function WorkflowTransitionAddForm::__construct

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

Creates an instance of WorkflowStateEditForm.

Parameters

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

File

core/modules/workflows/src/Form/WorkflowTransitionAddForm.php, line 34

Class

WorkflowTransitionAddForm
Entity form variant for adding workflow transitions.

Namespace

Drupal\workflows\Form

Code

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

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