You are here

public function PaymentGatewayBase::getDisplayLabel in Commerce Core 8.2

Gets the payment gateway display label.

The display label is customer-facing and more generic. For example: "Braintree".

Return value

string The payment gateway display label.

Overrides PaymentGatewayInterface::getDisplayLabel

1 call to PaymentGatewayBase::getDisplayLabel()
OffsitePaymentGatewayBase::onCancel in modules/payment/src/Plugin/Commerce/PaymentGateway/OffsitePaymentGatewayBase.php
Processes the "cancel" request.

File

modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayBase.php, line 208

Class

PaymentGatewayBase
Provides the base class for payment gateways.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway

Code

public function getDisplayLabel() {
  return $this->configuration['display_label'];
}