You are here

public function WebformAdminConfigAdvancedForm::__construct in Webform 8.5

Constructs a WebformAdminConfigAdvancedForm object.

Parameters

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

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

\Drupal\Core\Cache\CacheBackendInterface $render_cache: The render cache service.

\Drupal\Core\Routing\RouteBuilderInterface $router_builder: The router builder service.

\Drupal\webform\Commands\WebformCliService $cli_service: The (drush) command-line service.

Overrides ConfigFormBase::__construct

File

src/Form/AdminConfig/WebformAdminConfigAdvancedForm.php, line 68

Class

WebformAdminConfigAdvancedForm
Configure webform admin advanced settings.

Namespace

Drupal\webform\Form\AdminConfig

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, CacheBackendInterface $render_cache, RouteBuilderInterface $router_builder, WebformCliService $cli_service) {
  parent::__construct($config_factory);
  $this->renderCache = $render_cache;
  $this->moduleHandler = $module_handler;
  $this->routerBuilder = $router_builder;
  $this->cliService = $cli_service;
}