You are here

function stripe_payment_payment_method_controller_info in Stripe 7

Implements hook_payment_method_controller_info().

File

stripe_payment/stripe_payment.module, line 199
Stripe Payment module.

Code

function stripe_payment_payment_method_controller_info() {
  $controller = array();
  if (stripe_load_library()) {

    // The library is installed. Awesome!
    $controller[] = 'StripePaymentMethodController';
  }
  return $controller;
}