public function LogTypeForm::__construct in Log entity 2.x
Constructs a new LogTypeForm object.
Parameters
\Drupal\state_machine\WorkflowManagerInterface $workflow_manager: The workflow manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
Form/ LogTypeForm.php, line 40
Class
- LogTypeForm
- Form controller for Log type entities.
Namespace
Drupal\log\FormCode
public function __construct(WorkflowManagerInterface $workflow_manager, ModuleHandlerInterface $module_handler) {
$this->workflowManager = $workflow_manager;
$this->moduleHandler = $module_handler;
}