public function Tasks::minimumVersion in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::minimumVersion()
- 9 core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php \Drupal\Core\Database\Driver\sqlite\Install\Tasks::minimumVersion()
- 9 core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\pgsql\Install\Tasks::minimumVersion()
- 9 core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks::minimumVersion()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks::minimumVersion()
Return the minimum required version of the engine.
Return value
A version string. If not NULL, it will be checked against the version reported by the Database engine using version_compare().
Overrides Tasks::minimumVersion
File
- core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Install/ Tasks.php, line 80
Class
- Tasks
- Specifies installation tasks for MySQL and equivalent databases.
Namespace
Drupal\Core\Database\Driver\mysql\InstallCode
public function minimumVersion() {
if ($this
->getConnection()
->isMariaDb()) {
return static::MARIADB_MINIMUM_VERSION;
}
return static::MYSQL_MINIMUM_VERSION;
}