You are here

public function DatabaseConnection_mysql::utf8mb4IsActive in Drupal 7

Checks whether utf8mb4 support is currently active.

Return value

bool

Overrides DatabaseConnection::utf8mb4IsActive

1 call to DatabaseConnection_mysql::utf8mb4IsActive()
DatabaseConnection_mysql::__construct in includes/database/mysql/database.inc

File

includes/database/mysql/database.inc, line 623
Database interface code for MySQL database servers.

Class

DatabaseConnection_mysql

Code

public function utf8mb4IsActive() {
  return isset($this->connectionOptions['charset']) && $this->connectionOptions['charset'] === 'utf8mb4';
}