function amazon_ses_menu in Amazon SES 7
Same name and namespace in other branches
- 6 amazon_ses.module \amazon_ses_menu()
- 7.2 amazon_ses.module \amazon_ses_menu()
Implements hook_menu().
File
- ./
amazon_ses.module, line 24 - Module file for amazon_ses.
Code
function amazon_ses_menu() {
$items['admin/config/aws-settings'] = array(
'title' => 'AWS Settings',
'type' => MENU_NORMAL_ITEM,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_verify_sender_id_form',
),
'file' => 'includes/amazon_ses.admin.inc',
);
$items['admin/config/aws-settings/aws-verify-ses-sender-id'] = array(
'title' => 'Verify Sender ID',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_verify_sender_id_form',
),
'file' => 'includes/amazon_ses.admin.inc',
'weight' => 2,
);
$items['admin/config/aws-settings/aws-ses-sender-id-list'] = array(
'title' => 'Sender ID List',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_identity_list_form',
),
'file' => 'includes/amazon_ses.admin.inc',
'weight' => 3,
);
$items['admin/config/aws-settings/dkim-setup'] = array(
'title' => 'DKIM Setup',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_domain_dkim_enable_form',
),
'file' => 'includes/amazon_ses.admin.inc',
'weight' => 4,
);
$items['admin/config/aws-settings/aws-statistics'] = array(
'title' => 'AWS Statistics',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_get_mail_statistics_form',
),
'file' => 'includes/amazon_ses.admin.inc',
'weight' => 5,
);
$items['admin/config/aws-settings/sender-config'] = array(
'title' => 'Sender Configuration',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_sender_configuration_form',
),
'file' => 'includes/amazon_ses.admin.inc',
'weight' => 6,
);
return $items;
}