function amazon_ses_menu in Amazon SES 7.2
Same name and namespace in other branches
- 6 amazon_ses.module \amazon_ses_menu()
- 7 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/services/amazon-ses'] = array(
'title' => 'Amazon SES Settings',
'type' => MENU_NORMAL_ITEM,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_config_form',
),
'file' => 'includes/amazon_ses.admin.inc',
);
$items['admin/config/services/amazon-ses/settings'] = array(
'title' => 'Amazon SES Settings',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'amazon_ses_configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'amazon_ses_config_form',
),
'file' => 'includes/amazon_ses.admin.inc',
);
$items['admin/config/services/amazon-ses/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/services/amazon-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/services/amazon-ses/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/services/amazon-ses/statistics'] = array(
'title' => 'SES 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/services/amazon-ses/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;
}