You are here

public function ServicePluginBase::setServiceId in Analytics 8

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

Parameters

string $service_id: The service config entity ID.

Overrides ServicePluginInterface::setServiceId

File

src/Plugin/ServicePluginBase.php, line 34

Class

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

Namespace

Drupal\analytics\Plugin

Code

public function setServiceId($service_id) {
  $this->serviceId = $service_id;
}