public function Connection::isMariaDb in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::isMariaDb()
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Connection::isMariaDb()
Determines whether the MySQL distribution is MariaDB or not.
Return value
bool Returns TRUE if the distribution is MariaDB, or FALSE if not.
1 call to Connection::isMariaDb()
- Connection::version in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.php - Returns the version of the database server.
1 method overrides Connection::isMariaDb()
- Connection::isMariaDb in core/
modules/ system/ tests/ modules/ driver_test/ src/ Driver/ Database/ DrivertestMysqlDeprecatedVersion/ Connection.php - Determines whether the MySQL distribution is MariaDB or not.
File
- core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.php, line 282
Class
- Connection
- MySQL implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\Core\Database\Driver\mysqlCode
public function isMariaDb() : bool {
return (bool) $this
->getMariaDbVersionMatch();
}