function drupal_language_types
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.
File
- includes/bootstrap.inc, line 2963
- 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, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/drupal_language_types/7.x