public function SiteConfigureForm::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::__construct()
- 9 core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::__construct()
Constructs a new SiteConfigureForm.
Parameters
string $root: The app root.
string $site_path: The site path.
\Drupal\user\UserStorageInterface $user_storage: The user storage.
\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer.
\Drupal\Core\Locale\CountryManagerInterface $country_manager: The country manager.
Overrides ConfigFormBase::__construct
File
- core/
lib/ Drupal/ Core/ Installer/ Form/ SiteConfigureForm.php, line 70
Class
- SiteConfigureForm
- Provides the site configuration form.
Namespace
Drupal\Core\Installer\FormCode
public function __construct($root, $site_path, UserStorageInterface $user_storage, ModuleInstallerInterface $module_installer, CountryManagerInterface $country_manager) {
$this->root = $root;
$this->sitePath = $site_path;
$this->userStorage = $user_storage;
$this->moduleInstaller = $module_installer;
$this->countryManager = $country_manager;
}