You are here

public function EntityUsageTrackBase::getLabel in Entity Usage 8.3

Same name and namespace in other branches
  1. 8 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::getLabel()
  2. 8.2 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::getLabel()

Returns the tracking method label.

Return value

string The tracking method label.

Overrides EntityUsageTrackInterface::getLabel

File

src/EntityUsageTrackBase.php, line 119

Class

EntityUsageTrackBase
Base implementation for track plugins.

Namespace

Drupal\entity_usage

Code

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