public function StockEventTypeBase::getLabel in Commerce Stock 8
Gets the stock event type label.
Return value
string The stock event type label.
Overrides StockEventTypeInterface::getLabel
File
- src/
Plugin/ Commerce/ StockEventType/ StockEventTypeBase.php, line 15
Class
- StockEventTypeBase
- Base class for Stock Event Type plugins.
Namespace
Drupal\commerce_stock\Plugin\Commerce\StockEventTypeCode
public function getLabel() {
return $this->pluginDefinition['label'];
}