function Tasks::fail

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()
  2. 10 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()
  3. 11.x core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()

Assert test as failed.

13 calls to Tasks::fail()
Tasks::checkBinaryOutput in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check Binary Output.
Tasks::checkEncoding in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check encoding is UTF8.
Tasks::checkEngineVersion in core/lib/Drupal/Core/Database/Install/Tasks.php
Check the engine version.
Tasks::checkEngineVersion in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Check the engine version.
Tasks::checkStandardConformingStrings in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Ensures standard_conforming_strings setting is 'on'.

... See full list

File

core/lib/Drupal/Core/Database/Install/Tasks.php, line 92

Class

Tasks
Database installer structure.

Namespace

Drupal\Core\Database\Install

Code

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.