public function Tasks::minimumVersion in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::minimumVersion()
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Install/Tasks.php \Drupal\sqlite\Driver\Database\sqlite\Install\Tasks::minimumVersion()
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::minimumVersion()
- 10 core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php \Drupal\mysql\Driver\Database\mysql\Install\Tasks::minimumVersion()
Returns the minimum required version of the engine.
Return value
string|null 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/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php, line 80
Class
- Tasks
- Specifies installation tasks for MySQL and equivalent databases.
Namespace
Drupal\mysql\Driver\Database\mysql\InstallCode
public function minimumVersion() {
if ($this
->getConnection()
->isMariaDb()) {
return static::MARIADB_MINIMUM_VERSION;
}
return static::MYSQL_MINIMUM_VERSION;
}