function mobile_detect_import_menu in Mobile Switch 7.2
Implements hook_menu().
File
- modules/
mobile_detect_import/ mobile_detect_import.module, line 16 - Update and import functions for the Mobile Detect PHP class.
Code
function mobile_detect_import_menu() {
$items['admin/config/user-interface/mobile-switch/mobile-detect-import'] = array(
'title' => 'Mobile Detect',
'description' => 'Configure Mobile Detect Import settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mobile_detect_import_settings_form',
),
'access callback' => 'mobile_switch_administer',
'file' => 'mobile_detect_import.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => -4,
);
return $items;
}