function 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.

Overrides Connection::isMariaDb

File

core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php, line 31

Class

Connection
MySQL test implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion

Code

public function isMariaDb() : bool {
  return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.