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;
}
doc_Drupal
2016-10-29 09:43:07
Comments
Leave a Comment

Please login to continue.