You are here

function PaymentMethodUnavailable::__construct in Payment 7

Overrides PaymentMethod::__construct

File

./payment.classes.inc, line 621
The API and related functions for executing and managing payments.

Class

PaymentMethodUnavailable
A payment method that essentially disables payments.

Code

function __construct() {
  $this->title_specific = $this->title_generic = t('Unavailable');
  $this->controller = payment_method_controller_load('PaymentMethodControllerUnavailable');
}