You are here

public function LogCategory::getLabel in Commerce Core 8.2

Gets the translated label.

Return value

string The translated label.

Overrides LogCategoryInterface::getLabel

File

modules/log/src/Plugin/LogCategory/LogCategory.php, line 19

Class

LogCategory

Namespace

Drupal\commerce_log\Plugin\LogCategory

Code

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