function commerce_mollie_menu in Commerce Mollie 7
Implements hook_menu().
File
- ./
commerce_mollie.module, line 28
Code
function commerce_mollie_menu() {
$items = array();
$items['commerce_mollie/webhook'] = array(
'page callback' => 'commerce_mollie_webhook',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['checkout/%commerce_order/payment/response/%'] = array(
'title' => 'Commerce Mollie Payment',
'page callback' => 'commerce_mollie_return',
'page arguments' => array(
1,
4,
),
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/commerce/orders/%commerce_order/payment/%commerce_payment_transaction/mollie-status-request'] = array(
'title' => 'Request payment status',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'commerce_mollie_request_payment_status_form',
3,
5,
),
'access callback' => 'commerce_mollie_transfer_transaction_confirm_access',
'access arguments' => array(
3,
5,
),
'type' => MENU_DEFAULT_LOCAL_TASK,
'context' => MENU_CONTEXT_INLINE,
'weight' => 2,
);
return $items;
}