1 install.core.inc install_verify_database_utf8mb4()

Verifies if UTF8 MB4 support is available in the database.

Return value

bool:

File

core/includes/install.core.inc, line 881
API functions for installing Backdrop.

Code

function install_verify_database_utf8mb4() {
  try {
    return Database::getConnection()->utf8mb4IsSupported();
  }
  catch (Exception $e) {
    return FALSE;
  }
}