function LocaleSettingsForm::__construct
Same name and namespace in other branches
- main core/modules/locale/src/Form/LocaleSettingsForm.php \Drupal\locale\Form\LocaleSettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager.
Overrides ConfigFormBase::__construct
File
-
core/
modules/ locale/ src/ Form/ LocaleSettingsForm.php, line 21
Class
- LocaleSettingsForm
- Configure locale settings for this site.
Namespace
Drupal\locale\FormCode
public function __construct(ConfigFactoryInterface $config_factory, protected TypedConfigManagerInterface $typedConfigManager, protected LocaleSource $localeSource) {
parent::__construct($config_factory, $typedConfigManager);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.