function Tasks::pass

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

Asserts test as a pass.

7 calls to Tasks::pass()
Tasks::checkEncoding in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Check encoding is UTF8.
Tasks::connect in core/modules/sqlite/src/Driver/Database/sqlite/Install/Tasks.php
Checks if we can connect to the database.
Tasks::connect in core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php
Checks if we can connect to the database.
Tasks::connect in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Checks if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Install/Tasks.php
Checks if we can connect to the database.

... See full list

File

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

Class

Tasks
Database installer structure.

Namespace

Drupal\Core\Database\Install

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.