function language_types

language_types()

Returns an array of the available language types.

Return value

An array of all language types where the keys of each are the language type name and its value is its configurability (TRUE/FALSE).

File

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

Code

function language_types() {
  return array_keys(variable_get('language_types', drupal_language_types()));
}

© 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/language_types/7.x