function mobile_codes_mobile_codes_menu_alter in Mobile Codes 7.2
Same name and namespace in other branches
- 6.2 mobile_codes.module \mobile_codes_mobile_codes_menu_alter()
Implements hook_mobile_codes_menu_alter().
File
- ./
mobile_codes.module, line 69 - Mobile Codes core functions.
Code
function mobile_codes_mobile_codes_menu_alter(&$items) {
$items['admin/config/content/mobile_codes/settings'] = array(
'title' => 'Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mobile_codes_settings_form',
),
'access arguments' => array(
'administer mobile codes',
),
'file' => 'mobile_codes.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
}