function TestSiteApplication::getDefaultCommands

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

File

core/tests/Drupal/TestSite/TestSiteApplication.php, line 26

Class

TestSiteApplication
Application wrapper for test site commands.

Namespace

Drupal\TestSite

Code

protected function getDefaultCommands() : array {
    $default_commands = parent::getDefaultCommands();
    $default_commands[] = new TestSiteInstallCommand();
    $default_commands[] = new TestSiteTearDownCommand();
    $default_commands[] = new TestSiteReleaseLocksCommand();
    $default_commands[] = new TestSiteUserLoginCommand();
    return $default_commands;
}

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