function content_translation_element_info_alter
content_translation_element_info_alter(&$type)
Implements hook_element_info_alter().
File
- core/modules/content_translation/content_translation.module, line 428
- 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'; } }
© 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/core!modules!content_translation!content_translation.module/function/content_translation_element_info_alter/8.1.x