public function WebformAdminConfigElementsForm::__construct in Webform 8.5
Constructs a WebformAdminConfigElementsForm 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\WebformElementManagerInterface $element_manager: The webform element manager.
\Drupal\webform\WebformLibrariesManagerInterface $libraries_manager: The webform libraries manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AdminConfig/ WebformAdminConfigElementsForm.php, line 74
Class
- WebformAdminConfigElementsForm
- Configure webform admin settings for elements.
Namespace
Drupal\webform\Form\AdminConfigCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, WebformTokenManagerInterface $token_manager, WebformElementManagerInterface $element_manager, WebformLibrariesManagerInterface $libraries_manager) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->tokenManager = $token_manager;
$this->elementManager = $element_manager;
$this->librariesManager = $libraries_manager;
}