function SiteConfigureForm::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::__construct()
  2. 8.9.x core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::__construct()
  3. 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 $sitePath: The site path.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\Core\Extension\ModuleInstallerInterface $moduleInstaller: The module installer.

\Drupal\user\UserNameValidator $userNameValidator: The user validator.

bool $superUserAccessPolicy: The value of the 'security.enable_super_user' container parameter.

Overrides ConfigFormBase::__construct

File

core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 38

Class

SiteConfigureForm
Provides the site configuration form.

Namespace

Drupal\Core\Installer\Form

Code

public function __construct($root, $sitePath, EntityTypeManagerInterface $entityTypeManager, ModuleInstallerInterface $moduleInstaller, UserNameValidator $userNameValidator, bool $superUserAccessPolicy) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.