content_translation_module_implements_alter

content_translation_module_implements_alter(&$implementations, $hook)

Implements hook_module_implements_alter().

File

core/modules/content_translation/content_translation.module, line 54
Allows entities to be translated into different languages.

Code

function content_translation_module_implements_alter(&$implementations, $hook) {
  switch ($hook) {
    // Move our hook_entity_type_alter() implementation to the end of the list.
    case 'entity_type_alter':
      $group = $implementations['content_translation'];
      unset($implementations['content_translation']);
      $implementations['content_translation'] = $group;
      break;
  }
}
doc_Drupal
2016-10-29 08:58:40
Comments
Leave a Comment

Please login to continue.