You are here

public function Unavailable::getPaymentDescription in Payment 8.2

Returns the description of the payment this plugin is of.

Parameters

string|\Drupal\Core\StringTranslation\TranslatableMarkup:

Overrides PaymentTypeInterface::getPaymentDescription

File

src/Plugin/Payment/Type/Unavailable.php, line 70

Class

Unavailable
An unavailable payment type.

Namespace

Drupal\payment\Plugin\Payment\Type

Code

public function getPaymentDescription() {
  return new TranslatableMarkup('Unavailable');
}