function amazon_ses_menu in Amazon SES 6
Same name and namespace in other branches
- 7.2 amazon_ses.module \amazon_ses_menu()
- 7 amazon_ses.module \amazon_ses_menu()
Implementation of hook_menu().
File
- ./
amazon_ses.module, line 27 - Enables Drupal to send email directly through Amazon SES.
Code
function amazon_ses_menu() {
$items['admin/settings/amazon_ses'] = array(
'title' => 'Amazon SES',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_admin_settings',
),
'access arguments' => array(
'administer amazon ses module',
),
'description' => 'Allow for site emails to be sent through Amazon SES.',
'file' => 'amazon_ses.admin.inc',
);
$items['admin/reports/amazon_ses'] = array(
'title' => 'Amazon SES Statistics',
'page callback' => 'amazon_ses_admin_stats',
'access arguments' => array(
'administer amazon ses module',
),
'description' => 'View Amazon SES email sending statistics.',
'file' => 'amazon_ses.admin.inc',
);
return $items;
}