You are here

function commerce_billy_menu in Commerce Billy 7

Implements hook_menu().

File

./commerce_billy.module, line 203
Commerce Billy module.

Code

function commerce_billy_menu() {
  $items['admin/commerce/config/billy-invoice'] = array(
    'title' => 'Billy invoice settings',
    'description' => 'Configure the Billy invoicing settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_billy_admin_form',
    ),
    'access arguments' => array(
      'configure order settings',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'commerce_billy.admin.inc',
  );
  $items['admin/commerce/config/billy-invoice/settings'] = array(
    'title' => 'Settings',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => -10,
  );
  return $items;
}