You are here

function pay_node_menu in Pay 6

Same name and namespace in other branches
  1. 7 modules/pay_node/pay_node.module \pay_node_menu()

Implementation of hook_menu().

File

modules/pay_node/pay_node.module, line 6

Code

function pay_node_menu() {
  return array(
    'admin/settings/pay/node' => array(
      'title' => 'Node settings',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'pay_node_admin_settings',
      ),
      'access arguments' => array(
        'administer pay',
      ),
      'file' => 'pay_node.admin.inc',
      'file path' => drupal_get_path('module', 'pay_node') . '/includes',
      'type' => MENU_LOCAL_TASK,
    ),
    'node/%node/pay' => array(
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'pay_node_pay_form',
        1,
      ),
      'access callback' => 'pay_node_pay_form_access',
      'access arguments' => array(
        1,
      ),
      'type' => MENU_CALLBACK,
    ),
  );
}