You are here

public function StockEventTypeBase::getDisplayLabel in Commerce Stock 8

Gets the stock event type display label.

For enventually use in UI.

Return value

string The stock event type display label.

Overrides StockEventTypeInterface::getDisplayLabel

File

src/Plugin/Commerce/StockEventType/StockEventTypeBase.php, line 22

Class

StockEventTypeBase
Base class for Stock Event Type plugins.

Namespace

Drupal\commerce_stock\Plugin\Commerce\StockEventType

Code

public function getDisplayLabel() {
  return $this->pluginDefinition['displayLabel'];
}