You are here

public function Tasks::minimumVersion in Drupal 10

Same name in this branch
  1. 10 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::minimumVersion()
  2. 10 core/modules/sqlite/src/Driver/Database/sqlite/Install/Tasks.php \Drupal\sqlite\Driver\Database\sqlite\Install\Tasks::minimumVersion()
  3. 10 core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::minimumVersion()
  4. 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/pgsql/src/Driver/Database/pgsql/Install/Tasks.php, line 64

Class

Tasks
Specifies installation tasks for PostgreSQL databases.

Namespace

Drupal\pgsql\Driver\Database\pgsql\Install

Code

public function minimumVersion() {
  return static::PGSQL_MINIMUM_VERSION;
}