function TestSiteInstallCommand::__construct

Same name in other branches
  1. 10 core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php \Drupal\TestSite\Commands\TestSiteInstallCommand::__construct()

@todo Remove and fix test to not rely on super user.

See also

https://www.drupal.org/project/drupal/issues/3437620

File

core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php, line 95

Class

TestSiteInstallCommand
Command to create a test Drupal site.

Namespace

Drupal\TestSite\Commands

Code

public function __construct(?string $name = NULL) {
    parent::__construct($name);
    $this->usesSuperUserAccessPolicy = TRUE;
}

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