function TestSiteApplication::getDefaultCommands

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

File

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

Class

TestSiteApplication
Application wrapper for test site commands.

Namespace

Drupal\TestSite

Code

protected function getDefaultCommands() {
    $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.