You are here

function commerce_file_menu in Commerce File 7.2

Same name and namespace in other branches
  1. 7 commerce_file.module \commerce_file_menu()

Implements hook_menu().

File

./commerce_file.module, line 30
Extends Commerce License with the ability to sell access to files.

Code

function commerce_file_menu() {
  $items['admin/commerce/config/license/file'] = array(
    'title' => 'File',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_file_settings_form',
    ),
    'access arguments' => array(
      'administer licenses',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'includes/commerce_file.admin.inc',
  );
  return $items;
}