pay.handlers.inc in Pay 7
Same filename and directory in other branches
Hooks to specify available handlers for pay
File
includes/pay.handlers.incView source
<?php
/**
* @file
* Hooks to specify available handlers for pay
*/
/**
* Implementation of hook_pay_method_handler_info().
*/
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,
),
);
}
Functions
Name | Description |
---|---|
pay_pay_method_handler_info | Implementation of hook_pay_method_handler_info(). |