diff --git a/title.module b/title.module index c98ed93..1f9a520 100644 --- a/title.module +++ b/title.module @@ -37,6 +37,14 @@ function title_module_implements_alter(&$implementations, $hook) { $implementations['title'] = $group; break; + // The following hook implementations should be executed after entity_translation. + case 'entity_load': + if (isset($implementations['entity_translation'])) { + $length = array_search('entity_translation', array_keys($implementations)) + 1; + $implementations = array_merge(array_slice($implementations, 0, $length, TRUE), array('title' => $group), array_slice($implementations, $length, count($implementations) - 1, TRUE)); + } + break; + // Normally Title needs to act as first module to perform synchronization. default: $implementations = array('title' => $group) + $implementations;