You are here

function hook_payment_method_controller_info in Payment 7

Defines payment method controllers.

Return value

array An array with the names of payment method controller classes. Keys may either specific aliases for their values (the classes), or be numeric (left empty) to make them default to the controller class names they belong to. This allows hook_payment_method_controller_info_alter() to override payment method controller class by setting a different class name for an alias.

2 functions implement hook_payment_method_controller_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

paymentmethodbasic_payment_method_controller_info in modules/paymentmethodbasic/paymentmethodbasic.module
Implements hook_payment_method_controller_info().
payment_payment_method_controller_info in ./payment.payment.inc
Implements hook_payment_method_controller_info().
1 invocation of hook_payment_method_controller_info()
payment_method_controllers_info in ./payment.module
Returns information about payment method controllers.

File

./payment.api.php, line 48
Hook documentation.

Code

function hook_payment_method_controller_info() {
  return array(
    'DummyPaymentMethodController',
    'CashOnDeliveryPaymentMethodController',
  );
}