function translation_entity_module_implements_alter

Implements hook_module_implements_alter().

File

drupal/core/modules/translation_entity/translation_entity.module, line 51
Allows entities to be translated into different languages.

Code

function translation_entity_module_implements_alter(&$implementations, $hook) {
  switch ($hook) {

    // Move some of our hook implementations to the end of the list.
    case 'menu_alter':
    case 'entity_info_alter':
      $group = $implementations['translation_entity'];
      unset($implementations['translation_entity']);
      $implementations['translation_entity'] = $group;
      break;
  }
}