function gridbuilder_menu_alter in Grid builder 7
Implementation of hook_menu_alter().
File
- ./
gridbuilder.module, line 21 - Simple grid builder tool.
Code
function gridbuilder_menu_alter(&$items) {
// If used in conjunction with the layout module, convert the automatically
// created ctools menu item to a local task.
if (module_exists('layout') && isset($items['admin/structure/panels/layouts/grids'])) {
$items['admin/structure/panels/layouts/grids']['type'] = MENU_LOCAL_TASK;
}
}