You are here

public function EntityUsageTrackBase::getDescription in Entity Usage 8.3

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

Returns the tracking method description.

Return value

string The tracking method description, or an empty string is non defined.

Overrides EntityUsageTrackInterface::getDescription

File

src/EntityUsageTrackBase.php, line 126

Class

EntityUsageTrackBase
Base implementation for track plugins.

Namespace

Drupal\entity_usage

Code

public function getDescription() {
  return $this->pluginDefinition['description'] ?: '';
}