You are here

public function AnalyticsServiceInterface::setService in Analytics 8

Sets the service plugin.

Parameters

string $plugin_id: The service plugin ID.

array $configuration: The optional plugin configuration.

1 method overrides AnalyticsServiceInterface::setService()
AnalyticsService::setService in src/Entity/AnalyticsService.php
Sets the service plugin.

File

src/Entity/AnalyticsServiceInterface.php, line 28

Class

AnalyticsServiceInterface
Provides an interface defining a analytics service configuration entity.

Namespace

Drupal\analytics\Entity

Code

public function setService($plugin_id, array $configuration = []);