1 database.inc public DatabaseConnection_mysql::utf8mb4IsActive()

Checks whether utf8mb4 support is currently active.

Return value

bool:

Overrides DatabaseConnection::utf8mb4IsActive

File

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

Class

DatabaseConnection_mysql
MySQL database connection driver.

Code

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