You are here

function commerce_recurring_menu in Commerce Recurring Framework 7

Implements hook_menu().

File

./commerce_recurring.module, line 10
commerce_recurring.module Provides recurring framework for Drupal Commerce

Code

function commerce_recurring_menu() {
  $items = array();
  $items['admin/commerce/config/recurring'] = array(
    'title' => 'Recurring Orders',
    'file' => 'commerce_recurring.admin.inc',
    'description' => 'Configure recurring order settings',
    'access arguments' => array(
      'administer commerce recurring',
    ),
    'type' => MENU_NORMAL_ITEM,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_recurring_admin_form',
    ),
  );
  return $items;
}