function ContentTranslationHooks::elementInfoAlter
Implements hook_element_info_alter().
File
-
core/
modules/ content_translation/ src/ Hook/ ContentTranslationHooks.php, line 488
Class
- ContentTranslationHooks
- Hook implementations for content_translation.
Namespace
Drupal\content_translation\HookCode
public function elementInfoAlter(&$type) {
if (isset($type['language_configuration'])) {
$type['language_configuration']['#process'][] = 'content_translation_language_configuration_element_process';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.