function TestSiteReleaseLocksCommand::configure

Same name in other branches
  1. 9 core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php \Drupal\TestSite\Commands\TestSiteReleaseLocksCommand::configure()
  2. 8.9.x core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php \Drupal\TestSite\Commands\TestSiteReleaseLocksCommand::configure()
  3. 10 core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php \Drupal\TestSite\Commands\TestSiteReleaseLocksCommand::configure()

File

core/tests/Drupal/TestSite/Commands/TestSiteReleaseLocksCommand.php, line 25

Class

TestSiteReleaseLocksCommand
Command to release all test site database prefix locks.

Namespace

Drupal\TestSite\Commands

Code

protected function configure() {
    $this->setName('release-locks')
        ->setDescription('Releases all test site locks')
        ->setHelp('The locks ensure test site database prefixes are not reused.');
}

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