1.20.x database.inc public DatabaseConnection_mysql::utf8mb4IsActive()

Checks whether utf8mb4 support is currently active.

Return value

bool:

Overrides DatabaseConnection::utf8mb4IsActive

File

drivers/database_mysql/database.inc, line 597
Database interface code for MySQL database servers.

Class

DatabaseConnection_mysql

Code

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