public function WebformThirdPartySettingsManager::__construct in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformThirdPartySettingsManager.php \Drupal\webform\WebformThirdPartySettingsManager::__construct()
Constructs a WebformThirdPartySettingsManager.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration object factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler class to use for loading includes.
\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.
\Drupal\webform\WebformAddonsManagerInterface $addons_manager: The webform add-ons manager.
File
- src/
WebformThirdPartySettingsManager.php, line 64
Class
- WebformThirdPartySettingsManager
- Webform third party settings manager.
Namespace
Drupal\webformCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, PathValidatorInterface $path_validator, WebformAddonsManagerInterface $addons_manager) {
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->pathValidator = $path_validator;
$this->addonsManager = $addons_manager;
$this->config = $this->configFactory
->get('webform.settings');
$this
->loadIncludes();
}