You are here

function mail_edit_menu in Mail Editor 6

Same name and namespace in other branches
  1. 5 mail_edit.module \mail_edit_menu()
  2. 7 mail_edit.module \mail_edit_menu()

Implementation of hook_menu().

File

./mail_edit.module, line 28
Main file for the Mail Editor module.

Code

function mail_edit_menu() {
  $items['admin/build/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/build/mail-edit/%/%'] = array(
    'access callback' => 'mail_edit_access',
    'file' => 'mail_edit.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mail_edit_trans',
      3,
      4,
    ),
    'description' => 'Edit mails being sent out by Drupal.',
    'title' => 'Mail templates',
  );
  return $items;
}