function content_translation_element_info_alter in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/content_translation/content_translation.module \content_translation_element_info_alter()
Implements hook_element_info_alter().
File
- core/
modules/ content_translation/ content_translation.module, line 420 - Allows entities to be translated into different languages.
Code
function content_translation_element_info_alter(&$type) {
if (isset($type['language_configuration'])) {
$type['language_configuration']['#process'][] = 'content_translation_language_configuration_element_process';
}
}