function pay_pay_method_handler_info in Pay 7
Same name and namespace in other branches
- 6 includes/pay.handlers.inc \pay_pay_method_handler_info()
Implementation of hook_pay_method_handler_info().
File
- includes/
pay.handlers.inc, line 11 - Hooks to specify available handlers for pay
Code
function pay_pay_method_handler_info() {
$path = drupal_get_path('module', 'pay') . '/includes/handlers';
return array(
'pay_method_custom' => array(
'title' => t('Custom payment'),
'description' => t('Manual payment entry, for COD payments, pledges, or manually incrementing a total.'),
'parent' => 'pay_method',
'module' => 'pay',
'path' => $path,
),
'pay_method_gateway' => array(
'parent' => 'pay_method',
'module' => 'pay',
'path' => $path,
),
'pay_method_direct' => array(
'parent' => 'pay_method',
'module' => 'pay',
'path' => $path,
),
);
}