public function PaymentTest::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
- modules/
payment_test/ src/ Plugin/ Payment/ Type/ PaymentTest.php, line 26
Class
- PaymentTest
- A testing payment type.
Namespace
Drupal\payment_test\Plugin\Payment\TypeCode
public function getPaymentDescription() {
return 'The commander promoted Dirkjan to Major Failure.';
}