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 389
Database interface code for MySQL database servers.

Class

DatabaseConnection_mysql

Code

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