You are here

function entity_translation_module_implements_alter in Entity Translation 7

Implements hook_module_implements_alter().

File

./entity_translation.module, line 52

Code

function entity_translation_module_implements_alter(&$implementations, $hook) {
  switch ($hook) {
    case 'menu_alter':
    case 'entity_info_alter':

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