function DatabaseConnection::utf8mb4IsSupported

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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.