function Tasks::pass

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

Asserts test as a pass.

9 calls to Tasks::pass()
Tasks::checkEncoding in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Check encoding is UTF8.
Tasks::checkExtensions in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Generic function to check postgresql extensions.
Tasks::checkJsonSupport in core/lib/Drupal/Core/Database/Install/Tasks.php
Checks the database json support.
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.

... See full list

File

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

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.