You are here

public function EntityUsageTrackBase::getId in Entity Usage 8

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

Returns the tracking method unique id.

Return value

string The tracking method id.

Overrides EntityUsageTrackInterface::getId

File

src/EntityUsageTrackBase.php, line 67

Class

EntityUsageTrackBase
Base implementation for track plugins.

Namespace

Drupal\entity_usage

Code

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