function htmlmail_menu in HTML Mail 7.2
Same name and namespace in other branches
- 8.2 htmlmail.module \htmlmail_menu()
- 5 htmlmail.module \htmlmail_menu()
- 6.2 htmlmail.module \htmlmail_menu()
- 6 htmlmail.module \htmlmail_menu()
- 7 htmlmail.module \htmlmail_menu()
Implements hook_menu().
File
- ./
htmlmail.module, line 51 - Sends system emails in HTML.
Code
function htmlmail_menu() {
$items['admin/config/system/htmlmail'] = array(
'title' => 'HTML Mail',
'description' => 'Configure HTML Mail system-wide settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'htmlmail_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'htmlmail.admin.inc',
);
$items['admin/config/system/htmlmail/settings'] = array(
'title' => 'Settings',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => '-2',
);
$items['admin/config/system/htmlmail/test'] = array(
'title' => 'Send Test',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'htmlmail_test_form',
),
'access arguments' => array(
'access administration pages',
),
'type' => MENU_LOCAL_TASK,
'file' => 'htmlmail.admin.inc',
);
return $items;
}