2 * Implements hook_module_implements_alter().
4 function {{ machine_name }}_module_implements_alter(&$implementations, $hook) {
5 if ($hook == 'rdf_mapping') {
6 // Move my_module_rdf_mapping() to the end of the list. module_implements()
7 // iterates through $implementations with a foreach loop which PHP iterates
8 // in the order that the items were added, so to move an item to the end of
9 // the array, we remove it and then add it.
10 $group = $implementations['my_module'];
11 unset($implementations['my_module']);
12 $implementations['my_module'] = $group;