function mail_debugger_menu in Mail Debugger 7.2
Same name and namespace in other branches
- 7.3 mail_debugger.module \mail_debugger_menu()
- 7 mail_debugger.module \mail_debugger_menu()
Implement hook_menu()
Return value
type
File
- ./
mail_debugger.module, line 7
Code
function mail_debugger_menu() {
$access_arguments = array(
'administer users',
);
return array(
'admin/config/development/mail_debugger' => array(
'title' => "Mail debugger",
'description' => "Test the mail interface",
'page arguments' => array(
'mail_debugger_callback',
),
'page callback' => 'drupal_get_form',
'access arguments' => $access_arguments,
'file' => 'includes/mail_debugger.callback.inc',
'type' => MENU_LOCAL_TASK,
),
'admin/config/development/mail_debugger/autocomplete_mail' => array(
'page callback' => 'mail_debugger_callback_autocomplete_mail',
'access arguments' => $access_arguments,
'file' => 'includes/mail_debugger.callback.inc',
'type' => MENU_CALLBACK,
),
);
}