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