public function PlanTypeForm::__construct in farmOS 2.x
Constructs a new PlanTypeForm object.
Parameters
\Drupal\state_machine\WorkflowManagerInterface $workflow_manager: The workflow manager.
File
- modules/
core/ plan/ src/ Form/ PlanTypeForm.php, line 30
Class
- PlanTypeForm
- Form controller for plan type entities.
Namespace
Drupal\plan\FormCode
public function __construct(WorkflowManagerInterface $workflow_manager) {
$this->workflowManager = $workflow_manager;
}