function workbench_email_menu in Workbench Email 7
Same name and namespace in other branches
- 7.3 workbench_email.module \workbench_email_menu()
Implements hook_menu().
File
- ./
workbench_email.module, line 10 - Code for the Workbench Email Module.
Code
function workbench_email_menu() {
$items = array();
$items['admin/config/workbench/moderation/emails'] = array(
'title' => 'Emails',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'workbench_email_form',
),
'access arguments' => array(
'administer workbench emails',
),
'type' => MENU_LOCAL_TASK,
'file' => 'workbench_email.admin.inc',
);
$items['admin/config/workbench/moderation/email-transitions'] = array(
'title' => 'Email Transitions',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'workbench_email_transitions_form',
),
'access arguments' => array(
'administer workbench emails',
),
'type' => MENU_LOCAL_TASK,
'file' => 'workbench_email.admin.inc',
);
return $items;
}