function drupal_language_types

Returns a list of the built-in language types.

Return value

An array of key-values pairs where the key is the language type and the value is its configurability.

5 calls to drupal_language_types()
language_types in drupal/includes/bootstrap.inc
Returns an array of the available language types.
language_types_configurable in drupal/includes/language.inc
Returns only the configurable language types.
language_types_disable in drupal/includes/language.inc
Disables the given language types.
LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations in drupal/modules/locale/locale.test
Tests alterations to language types/negotiation info.
LocaleUninstallFunctionalTest::testUninstallProcess in drupal/modules/locale/locale.test
Check if the values of the Locale variables are correct after uninstall.

File

drupal/includes/bootstrap.inc, line 2978
Functions that need to be loaded on every Drupal request.

Code

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