You are here

protected function Tasks::fail in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()
  2. 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::fail()

Asserts test as failed.

15 calls to Tasks::fail()
Tasks::checkBinaryOutput in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Check Binary Output.
Tasks::checkEncoding in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Check encoding is UTF8.
Tasks::checkEngineVersion in core/lib/Drupal/Core/Database/Install/Tasks.php
Checks the engine version.
Tasks::checkEngineVersion in core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php
Checks the engine version.
Tasks::checkExtensions in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Generic function to check postgresql extensions.

... See full list

File

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

Class

Tasks
Database installer structure.

Namespace

Drupal\Core\Database\Install

Code

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