You are here

function subscriptions_mail_menu in Subscriptions 6

Same name and namespace in other branches
  1. 7 subscriptions_mail.module \subscriptions_mail_menu()
  2. 2.0.x subscriptions_mail/subscriptions_mail.module \subscriptions_mail_menu()

Implementation of hook_menu().

Registers a callback to purge the queue.

File

./subscriptions_mail.module, line 13
Subscriptions module mail gateway.

Code

function subscriptions_mail_menu() {
  $items['admin/settings/subscriptions/purge-queue'] = array(
    'file' => 'subscriptions_mail.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      '_subscriptions_mail_purge_queue_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}