function mail_edit_menu in Mail Editor 7
Same name and namespace in other branches
- 5 mail_edit.module \mail_edit_menu()
- 6 mail_edit.module \mail_edit_menu()
Implements hook_menu().
Return value
array
File
- ./
mail_edit.module, line 37 - Mail Editor module.
Code
function mail_edit_menu() {
$items['admin/config/system/mail-edit'] = array(
'access callback' => 'mail_edit_access',
'file' => 'mail_edit.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mail_edit_list_form',
),
'description' => 'Edit mails being sent out by Drupal.',
'title' => 'Mail templates',
);
$items['admin/config/system/mail-edit/purge/%'] = array(
'access callback' => 'mail_edit_access',
'file' => 'mail_edit.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mail_edit_purge_mailkey',
5,
),
'type' => MENU_CALLBACK,
);
$items['admin/config/system/mail-edit/%/%'] = array(
'access callback' => 'mail_edit_access',
'file' => 'mail_edit.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mail_edit_template_form',
4,
5,
),
'type' => MENU_CALLBACK,
);
$items['admin/config/system/mail-edit/%/%/remove'] = array(
'access callback' => 'mail_edit_access',
'file' => 'mail_edit.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mail_edit_template_remove_confirm',
4,
5,
),
'type' => MENU_CALLBACK,
);
return $items;
}