You are here

public function WebformAdminConfigHandlersForm::__construct in Webform 8.5

Constructs a WebformAdminConfigHandlersForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\webform\WebformTokenManagerInterface $token_manager: The webform token manager.

\Drupal\webform\Plugin\WebformHandlerManagerInterface $handler_manager: The webform handler manager.

Overrides ConfigFormBase::__construct

File

src/Form/AdminConfig/WebformAdminConfigHandlersForm.php, line 57

Class

WebformAdminConfigHandlersForm
Configure webform admin settings for handlers.

Namespace

Drupal\webform\Form\AdminConfig

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, WebformTokenManagerInterface $token_manager, WebformHandlerManagerInterface $handler_manager) {
  parent::__construct($config_factory);
  $this->moduleHandler = $module_handler;
  $this->tokenManager = $token_manager;
  $this->handlerManager = $handler_manager;
}