You are here

function payment_commerce_menu in Payment for Drupal Commerce 7.2

Same name and namespace in other branches
  1. 7 payment_commerce.module \payment_commerce_menu()

Implements hook_menu().

File

./payment_commerce.module, line 11
Hook implementations and shared functions.

Code

function payment_commerce_menu() {
  $item['admin/config/services/payment/payment_commerce'] = array(
    'title' => 'Payment for Drupal Commerce',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'payment_commerce_form_configuration',
    ),
    'access arguments' => array(
      'payment_commerce.administer',
    ),
  );
  return $item;
}