public function SiteConfigureForm::__construct

public SiteConfigureForm::__construct($root, $site_path, UserStorageInterface $user_storage, StateInterface $state, ModuleInstallerInterface $module_installer, CountryManagerInterface $country_manager)

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 76

Class

SiteConfigureForm
Provides the site configuration form.

Namespace

Drupal\Core\Installer\Form

Code

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Installer!Form!SiteConfigureForm.php/function/SiteConfigureForm::__construct/8.1.x