You are here

public function EntityUsageTrackBase::getLabel in Entity Usage 8

Same name and namespace in other branches
  1. 8.2 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::getLabel()
  2. 8.3 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 74

Class

EntityUsageTrackBase
Base implementation for track plugins.

Namespace

Drupal\entity_usage

Code

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