function context_mobile_detect_menu in Context Mobile Detect 7.2
Same name and namespace in other branches
- 7 context_mobile_detect.module \context_mobile_detect_menu()
Implements hook_menu().
File
- ./
context_mobile_detect.module, line 8
Code
function context_mobile_detect_menu() {
$items['admin/structure/context/settings/mobile-detect'] = array(
'title' => 'Mobile Detect Settings',
'access callback' => 'user_access',
'access arguments' => array(
'administer site configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'context_mobile_detect_settings',
),
'type' => MENU_LOCAL_TASK,
'file' => 'context_mobile_detect.admin.inc',
'weight' => 4,
);
return $items;
}