You are here

public function DatabaseConnection::utf8mb4IsSupported in Drupal 7

Checks whether utf8mb4 support is available on the current database system.

Return value

bool

3 methods override DatabaseConnection::utf8mb4IsSupported()
DatabaseConnection_mysql::utf8mb4IsSupported in includes/database/mysql/database.inc
Checks whether utf8mb4 support is available on the current database system.
DatabaseConnection_pgsql::utf8mb4IsSupported in includes/database/pgsql/database.inc
Checks whether utf8mb4 support is available on the current database system.
DatabaseConnection_sqlite::utf8mb4IsSupported in includes/database/sqlite/database.inc
Checks whether utf8mb4 support is available on the current database system.

File

includes/database/database.inc, line 1414
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function utf8mb4IsSupported() {

  // By default we assume that the database backend may not support 4 byte
  // UTF-8.
  return FALSE;
}