You are here

public function ServicePluginBase::getLabel in Analytics 8

Returns the label of the analytics service.

Return value

string The label of this analytics service.

Overrides ServicePluginInterface::getLabel

File

src/Plugin/ServicePluginBase.php, line 57

Class

ServicePluginBase
Defines a base implementation for analytics service plugins will extend.

Namespace

Drupal\analytics\Plugin

Code

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