You are here

public function SiteConfigureForm::__construct in Configuration installer 8

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\ModuleHandlerInterface $module_handler: The module handler.

File

src/Form/SiteConfigureForm.php, line 71

Class

SiteConfigureForm
Updates the user 1 account.

Namespace

Drupal\config_installer\Form

Code

public function __construct($root, $site_path, UserStorageInterface $user_storage, StateInterface $state, ModuleHandlerInterface $module_handler) {
  $this->root = $root;
  $this->sitePath = $site_path;
  $this->userStorage = $user_storage;
  $this->state = $state;
  $this->moduleHandler = $module_handler;
}