function Tasks::fail
Asserts test as failed.
14 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::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.
 
File
- 
              core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 102  
Class
- Tasks
 - Database installer structure.
 
Namespace
Drupal\Core\Database\InstallCode
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.