function payment_webform_menu in Payment for Webform 7
Implements hook_menu().
File
- ./
payment_webform.module, line 11 - Hook implementations and shared functions.
Code
function payment_webform_menu() {
$item['payment_webform/finish'] = array(
'title' => 'Payment for Webform finished',
'page callback' => 'payment_webform_page_finish',
'access callback' => 'payment_webform_page_finish_access',
'type' => MENU_CALLBACK,
);
$item['payment_webform/pay/%node/%'] = array(
'title' => 'Add a payment reference',
'title callback' => 'node_page_title',
'title arguments' => array(
2,
),
'page callback' => 'payment_webform_page_payment',
'page arguments' => array(
2,
3,
),
'access callback' => 'payment_webform_page_payment_access',
'access arguments' => array(
2,
3,
),
);
return $item;
}