You are here

public function WebformAdminConfigSubmissionsForm::__construct in Webform 8.5

Constructs a WebformAdminConfigSubmissionsForm 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.

Overrides ConfigFormBase::__construct

File

src/Form/AdminConfig/WebformAdminConfigSubmissionsForm.php, line 48

Class

WebformAdminConfigSubmissionsForm
Configure webform admin settings for submissions.

Namespace

Drupal\webform\Form\AdminConfig

Code

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