public function Mollie::buildLabel in Commerce Mollie 8
Builds a label for the given payment method.
Parameters
\Drupal\commerce_payment\Entity\PaymentMethodInterface $payment_method: The payment method.
Return value
string The label.
Overrides PaymentMethodTypeInterface::buildLabel
File
- src/
Plugin/ Commerce/ PaymentMethodType/ Mollie.php, line 22
Class
- Mollie
- Provides the credit card payment method type.
Namespace
Drupal\commerce_mollie\Plugin\Commerce\PaymentMethodTypeCode
public function buildLabel(PaymentMethodInterface $payment_method) {
return $this
->t('Mollie');
}