1 bootstrap.inc language_types_get_default()

Returns a list of the built-in language types.

Return value

An array of key-values pairs where the key is the language type name and: the value is its configurability (TRUE/FALSE).

File

core/includes/bootstrap.inc, line 3528
Functions that need to be loaded on every Backdrop request.

Code

function language_types_get_default() {
  return array(
    LANGUAGE_TYPE_INTERFACE => TRUE,
    LANGUAGE_TYPE_CONTENT => FALSE,
    LANGUAGE_TYPE_URL => FALSE,
  );
}