function maillog_menu in Maillog / Mail Developer 6
Same name and namespace in other branches
- 7 maillog.module \maillog_menu()
Implementation of hook_menu().
File
- ./
maillog.module, line 45 - Provides a 'maillog' node type
Code
function maillog_menu() {
$items = array();
$items['admin/settings/maillog'] = array(
'title' => t('Maillog Settings'),
'description' => t('Configure the settings of Maillog module.'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'maillog_admin_settings',
),
'access arguments' => array(
'administer maillog',
),
'type' => MENU_NORMAL_ITEM,
);
$items['maillog/delete/%maillog_maillog'] = array(
'title' => t("Delete Maillog from 'maillog' Table"),
'description' => t("Delete the Maillog with the idmaillog given by the parameter from 'maillog' Table"),
'page callback' => 'maillog_maillog_delete',
'page arguments' => array(
2,
),
'access arguments' => array(
'delete maillog',
),
'type' => MENU_CALLBACK,
);
$items['maillog/details/%maillog_maillog'] = array(
'title callback' => 'maillog_maillog_title',
'title arguments' => array(
2,
),
'description' => t("Delete the Maillog with the idmaillog given by the parameter from 'maillog' Table"),
'page callback' => 'maillog_maillog_page',
'page arguments' => array(
2,
),
'access arguments' => array(
'view maillog',
),
'type' => MENU_CALLBACK,
);
return $items;
}