protected function DatabaseTasks::fail

7.x install.inc protected DatabaseTasks::fail($message)

Assert test as failed.

7 calls to DatabaseTasks::fail()
DatabaseTasks::checkEngineVersion in drupal-7.x/includes/install.inc
Check the engine version.
DatabaseTasks::connect in drupal-7.x/includes/install.inc
Check if we can connect to the database.
DatabaseTasks::runTestQuery in drupal-7.x/includes/install.inc
Run SQL tests to ensure the database can execute commands with the current user.
DatabaseTasks_pgsql::checkBinaryOutput in drupal-7.x/includes/database/pgsql/install.inc
Check Binary Output.
DatabaseTasks_pgsql::checkEncoding in drupal-7.x/includes/database/pgsql/install.inc
Check encoding is UTF8.

... See full list

File

drupal-7.x/includes/install.inc, line 360
API functions for installing modules and themes.

Class

DatabaseTasks
Database installer structure.

Code

protected function fail($message) {
  $this->results[$message] = FALSE;
}