function TestSiteApplication::getDefaultCommands
Same name in other branches
- 9 core/tests/Drupal/TestSite/TestSiteApplication.php \Drupal\TestSite\TestSiteApplication::getDefaultCommands()
- 8.9.x core/tests/Drupal/TestSite/TestSiteApplication.php \Drupal\TestSite\TestSiteApplication::getDefaultCommands()
- 11.x 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\TestSiteCode
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.