1 language.api.php hook_language_types_info_alter(array &$language_types)

Perform alterations on language types.

Parameters

$language_types: Array of language type definitions.

See also

hook_language_types_info()

Related topics

File

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

Code

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.');
  }
}