protected function Tasks::checkEngineVersion in Drupal 8
Same name in this branch
- 8 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::checkEngineVersion()
- 8 core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks::checkEngineVersion()
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::checkEngineVersion()
- 10 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::checkEngineVersion()
Check the engine version.
2 calls to Tasks::checkEngineVersion()
- Tasks::checkEngineVersion in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Install/ Tasks.php - Check the engine version.
- Tasks::engineVersionRequirementsCheck in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks engine version requirements for the status report.
1 method overrides Tasks::checkEngineVersion()
- Tasks::checkEngineVersion in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Install/ Tasks.php - Check the engine version.
File
- core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 201
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
protected function checkEngineVersion() {
// Ensure that the database server has the right version.
if ($this
->minimumVersion() && version_compare(Database::getConnection()
->version(), $this
->minimumVersion(), '<')) {
$this
->fail(t("The database server version %version is less than the minimum required version %minimum_version.", [
'%version' => Database::getConnection()
->version(),
'%minimum_version' => $this
->minimumVersion(),
]));
}
}