function layout_module_implements_alter in Layout 7
Implementation of hook_module_implements_alter().
File
- ./
layout.module, line 11 - Responsive layout builder tool for Panels.
Code
function layout_module_implements_alter(&$implementations, $hook) {
if ($hook == 'menu_alter') {
// Move layout_menu_alter() to the end of the list. module_implements()
// iterates through $implementations with a foreach loop which PHP iterates
// in the order that the items were added, so to move an item to the end of
// the array, we remove it and then add it.
$group = $implementations['layout'];
unset($implementations['layout']);
$implementations['layout'] = $group;
}
}