function hook_language_types_info_alter

Perform alterations on language types.


$language_types: Array of language type definitions.

See also


Related topics

1 function implements hook_language_types_info_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

locale_test_language_types_info_alter in drupal/modules/locale/tests/locale_test.module
Implements hook_language_types_info_alter().
1 invocation of hook_language_types_info_alter()
language_types_info in drupal/includes/
Returns all the defined language types.


drupal/modules/system/language.api.php, line 103
Hooks provided by the base system for language support.


function hook_language_types_info_alter(array &$language_types) {
  if (isset($language_types['custom_language_type'])) {
    $language_types['custom_language_type_custom']['description'] = t('A far better description.');