function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.