function skinr_context_ui_menu_alter in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr_context/skinr_context_ui.module \skinr_context_ui_menu_alter()
Implements hook_menu_alter().
File
- skinr_context/
skinr_context_ui.module, line 97 - Administrative interface for Skinr Context. Without this module, you cannot edit your skins with context.
Code
function skinr_context_ui_menu_alter(&$items) {
$items['admin/structure/skinr/edit/%/%']['page callback'] = 'skinr_context_ui_group_list';
$items['admin/structure/skinr/edit/%/%']['file'] = 'skinr_context_ui.edit.inc';
$items['admin/structure/skinr/edit/%/%']['file path'] = drupal_get_path('module', 'skinr_context_ui');
$items['admin/structure/skinr']['page arguments'] = array(
'skinr_context_ui_admin_skin_list',
);
$items['admin/structure/skinr']['file'] = 'skinr_context_ui.admin.inc';
$items['admin/structure/skinr']['file path'] = drupal_get_path('module', 'skinr_context_ui');
}