public function PaymentMethodTypeBase::getLabel in Commerce Core 8.2
Gets the payment method type label.
Return value
string The payment method type label.
Overrides PaymentMethodTypeInterface::getLabel
File
- modules/
payment/ src/ Plugin/ Commerce/ PaymentMethodType/ PaymentMethodTypeBase.php, line 15
Class
- PaymentMethodTypeBase
- Provides the base payment method type class.
Namespace
Drupal\commerce_payment\Plugin\Commerce\PaymentMethodTypeCode
public function getLabel() {
return $this->pluginDefinition['label'];
}