You are here

function sparkpost_requeue_menu in Sparkpost email 7.2

Same name and namespace in other branches
  1. 7 modules/sparkpost_requeue/sparkpost_requeue.module \sparkpost_requeue_menu()

Implements hook_menu().

File

modules/sparkpost_requeue/sparkpost_requeue.module, line 11
Sparkpost requeue module.

Code

function sparkpost_requeue_menu() {
  $items = array();
  $items['admin/config/services/sparkpost/sparkpost_requeue'] = array(
    'title' => 'Administer sparkpost requeue',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'sparkpost_requeue_admin_settings',
    ),
    'description' => 'Automatically retry failed sparkpost messages',
    'access arguments' => array(
      'administer sparkpost',
    ),
    'file' => 'sparkpost_requeue.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}