drupal_language_types

Versions
7
drupal_language_types()

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.

▾ 3 functions call drupal_language_types()

language_types in includes/bootstrap.inc
Return an array of the available language types.
language_types_configurable in includes/language.inc
Return only the configurable language types.
language_types_disable in includes/language.inc
Disable the given language types.

Code

includes/bootstrap.inc, line 1778

<?php
function drupal_language_types() {
  return array(
    LANGUAGE_TYPE_CONTENT => TRUE,
    LANGUAGE_TYPE_INTERFACE => TRUE,
    LANGUAGE_TYPE_URL => FALSE,
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.