function forward_menu in Forward 7.2
Same name and namespace in other branches
- 5 forward.module \forward_menu()
- 6 forward.module \forward_menu()
- 7.3 forward.module \forward_menu()
- 7 forward.module \forward_menu()
Implements hook_menu().
File
- ./
forward.module, line 55
Code
function forward_menu() {
$items = array();
$items['epostcard'] = array(
'title' => variable_get('forward_epostcard_title', 'Send an e-Postcard'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'forward_form',
'epostcard',
),
'access arguments' => array(
'access epostcard',
),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/reports/forward'] = array(
'description' => 'Track forwarded posts',
'title' => 'Forward tracking',
'page callback' => 'forward_tracking',
'access arguments' => array(
'administer forward',
),
'type' => MENU_NORMAL_ITEM,
);
$items['forward/emailref'] = array(
'title' => 'Track email clickthrus',
'page callback' => 'forward_tracker',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['forward'] = array(
'title' => variable_get('forward_email_title', 'Forward this page to a friend'),
'page callback' => 'forward_page',
'access arguments' => array(
'access forward',
),
'type' => MENU_CALLBACK,
);
$items['admin/config/user-interface/forward'] = array(
'description' => 'Configure settings for forward module.',
'title' => 'Forward',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'forward_admin_settings',
),
'access arguments' => array(
'administer forward',
),
'file' => 'forward.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}