You are here

public function ServicePluginBase::getServiceId in Analytics 8

Gets the current service config entity ID that is using this plugin.

Return value

string The service config entity ID.

Overrides ServicePluginInterface::getServiceId

2 calls to ServicePluginBase::getServiceId()
AmpTrackingPixel::getOutput in analytics_amp/src/Plugin/AnalyticsService/AmpTrackingPixel.php
Returns the output of the analytics service.
GoogleTagManager::getOutput in src/Plugin/AnalyticsService/GoogleTagManager.php
Returns the output of the analytics service.

File

src/Plugin/ServicePluginBase.php, line 41

Class

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

Namespace

Drupal\analytics\Plugin

Code

public function getServiceId() {
  return $this->serviceId;
}