function shrinktheweb_menu in ShrinkTheWeb 6
Same name and namespace in other branches
- 7 shrinktheweb.module \shrinktheweb_menu()
Implementation of hook_menu().
File
- ./
shrinktheweb.module, line 33
Code
function shrinktheweb_menu() {
$items = array();
$items['admin/settings/shrinktheweb'] = array(
'title' => 'ShrinkTheWeb',
'description' => 'Configure API settings such as public, private keys, thumbnails cache and other',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'shrinktheweb_admin_settings',
),
'access arguments' => array(
'administer ShrinkTheWeb settings',
),
'file' => 'shrinktheweb.admin.inc',
);
$items['admin/settings/shrinktheweb/settings'] = array(
'title' => 'Settings',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
$items['admin/settings/shrinktheweb/log'] = array(
'title' => 'Log',
'description' => 'Browse the request records',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'shrinktheweb_admin_log',
),
'access arguments' => array(
'administer ShrinkTheWeb settings',
),
'type' => MENU_LOCAL_TASK,
'weight' => 0,
'file' => 'shrinktheweb.admin.inc',
);
return $items;
}