function devel_mail_logger_menu in Devel Mail Logger 7
Implements hook_menu().
File
- ./
devel_mail_logger.module, line 23
Code
function devel_mail_logger_menu() {
$items = array();
$items['admin/reports/devel_mail_logger'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'devel_mail_logger_list',
),
'access arguments' => array(
'access site reports',
),
'title' => 'List Mails',
'file' => 'devel_mail_logger.admin.inc',
);
$items['admin/reports/devel_mail_logger/mail/%devel_mail_logger/view'] = array(
'page callback' => 'devel_mail_logger_show_mail',
'page arguments' => array(
4,
),
'access arguments' => array(
'access site reports',
),
'title' => 'Mail',
'file' => 'devel_mail_logger.admin.inc',
'type' => MENU_CALLBACK,
);
$items['admin/reports/devel_mail_logger/mail/%devel_mail_logger/send'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'devel_mail_logger_send_mail',
4,
),
'access arguments' => array(
'access site reports',
),
'title' => 'Mail',
'file' => 'devel_mail_logger.admin.inc',
'type' => MENU_CALLBACK,
);
$items['admin/reports/devel_mail_logger/send'] = array(
'page callback' => 'devel_mail_logger_send_test_mail',
'access arguments' => array(
'access site reports',
),
'title' => 'Send test mail',
'file' => 'devel_mail_logger.admin.inc',
'type' => MENU_CALLBACK,
);
return $items;
}