public function SiteConfigureForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::__construct()
- 10 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\State\StateInterface $state: The state service.
\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 80
Class
- SiteConfigureForm
- Provides the site configuration form.
Namespace
Drupal\Core\Installer\FormCode
public function __construct($root, $site_path, UserStorageInterface $user_storage, StateInterface $state, ModuleInstallerInterface $module_installer, CountryManagerInterface $country_manager) {
$this->root = $root;
$this->sitePath = $site_path;
$this->userStorage = $user_storage;
$this->state = $state;
$this->moduleInstaller = $module_installer;
$this->countryManager = $country_manager;
}