function recipe_module_implements_alter in Recipe 7
Implements hook_module_implements_alter().
File
- ./
recipe.module, line 2087 - Contains functions for Recipe node CRUD and display.
Code
function recipe_module_implements_alter(&$implementations, $hook) {
// Ensure our implementation of hook_node_prepare() runs after the translation
// module's implementation so that source translation data has been added to
// the node object.
if ($hook == 'node_prepare') {
$group = $implementations['recipe'];
unset($implementations['recipe']);
$implementations['recipe'] = $group;
}
}