You are here

function commerce_license_role_menu in Commerce License 7

Implements hook_menu().

File

modules/commerce_license_role/commerce_license_role.module, line 20
Provides a license type for selling roles.

Code

function commerce_license_role_menu() {
  $items['admin/commerce/config/license/role'] = array(
    'title' => 'Role',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_license_role_settings_form',
    ),
    'access arguments' => array(
      'administer licenses',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'includes/commerce_license_role.admin.inc',
  );
  return $items;
}