hook_language_types_info_alter(array &$language_types)
Perform alterations on language types.
Parameters
array $language_types: Array of language type definitions.
See also
Related topics
- Hooks
- Define functions that alter the behavior of Drupal core.
File
- core/modules/language/language.api.php, line 60
- Hooks provided by the Language module.
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.'); } }
Please login to continue.