You are here

function mail_debugger_menu in Mail Debugger 7

Same name and namespace in other branches
  1. 7.3 mail_debugger.module \mail_debugger_menu()
  2. 7.2 mail_debugger.module \mail_debugger_menu()

Implement hook_menu()

Return value

type

File

./mail_debugger.module, line 7

Code

function mail_debugger_menu() {
  return array(
    'admin/people/mail_debugger' => array(
      'title' => "Mail debugger",
      'description' => "Test the mail interface",
      'page arguments' => array(
        'mail_debugger_callback',
      ),
      'page callback' => 'drupal_get_form',
      'access arguments' => array(
        'administer users',
      ),
      'file' => 'includes/mail_debugger.callback.inc',
      'type' => MENU_LOCAL_TASK,
      'weight' => 100,
    ),
  );
}