public function EntityUsageTrackBase::getDescription in Entity Usage 8.3
Same name and namespace in other branches
- 8 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::getDescription()
- 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_usageCode
public function getDescription() {
return $this->pluginDefinition['description'] ?: '';
}