public function SwitchPageThemeSettingForm::__construct in Switch Page Theme 8.3
Same name and namespace in other branches
- 8 src/Form/SwitchPageThemeSettingForm.php \Drupal\switch_page_theme\Form\SwitchPageThemeSettingForm::__construct()
- 8.2 src/Form/SwitchPageThemeSettingForm.php \Drupal\switch_page_theme\Form\SwitchPageThemeSettingForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SwitchPageThemeSettingForm.php, line 41
Class
- SwitchPageThemeSettingForm
- Configuration page for Switch page theme settings.
Namespace
Drupal\switch_page_theme\FormCode
public function __construct(ModuleHandlerInterface $module_handler, DomainLoader $domain_loader = NULL, LanguageManagerInterface $language_manager = NULL) {
$this->moduleHandler = $module_handler;
if ($domain_loader) {
$this->domainLoader = $domain_loader;
}
if ($language_manager) {
$this->languageManager = $language_manager;
}
}