function Tasks::fail
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()
- 10 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()
- 8.9.x core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()
Asserts test as failed.
4 calls to Tasks::fail()
- Tasks::checkEngineVersion in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks the engine version.
- Tasks::connect in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::runTasks in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Runs database tasks and tests to see if Drupal can run on the database.
- Tasks::runTestQuery in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Ensures the database can execute commands with the current user.
File
-
core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 98
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
protected function fail($message) {
$this->results['fail'][] = $message;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.