function payment_test_menu in Payment 7
Implements hook_menu().
File
- tests/
payment_test/ payment_test.module, line 11 - Hook implementations and shared functions.
Code
function payment_test_menu() {
// @see PaymentLineItemFormElementWebTestCase
$items['payment_test-form-element-payment-line-item'] = array(
'title' => 'Test the payment_line_item form element',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'payment_test_form_payment_line_item',
),
'access callback' => TRUE,
);
// @see PaymentAmountFormElementWebTestCase
// The second URL path argument is an optional float value specifying a
// minimum amount.
$items['payment_test-form-element-payment-amount'] = array(
'title' => 'Test the payment_amount form element',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'payment_test_form_payment_amount',
),
'access callback' => TRUE,
);
return $items;
}