function beautytips_menu in BeautyTips 6.2
Same name and namespace in other branches
- 6 beautytips.module \beautytips_menu()
- 7.2 beautytips.module \beautytips_menu()
Implementation of hook_menu().
File
- ./
beautytips.module, line 27 - Provides API for adding beautytips to pages. TODO: Add status about excanvas on status page.
Code
function beautytips_menu() {
$items['admin/settings/beautytips'] = array(
'title' => 'BeautyTips',
'description' => 'Administer BeautyTips',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'beautytips_admin',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'beautytips.admin.inc',
);
$items['admin/settings/beautytips/settings'] = array(
'title' => 'BeautyTips',
'description' => 'Administer BeautyTips',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'beautytips_admin',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'beautytips.admin.inc',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
return $items;
}