You are here

public function ServicePluginCollection::__construct in Analytics 8

Constructs a new SearchPluginCollection.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $manager: The manager to be used for instantiating plugins.

string $instance_id: The ID of the plugin instance.

array $configuration: An array of configuration.

string $analytics_service_id: The unique ID of the analytics service using this plugin.

Overrides DefaultSingleLazyPluginCollection::__construct

File

src/Plugin/ServicePluginCollection.php, line 29

Class

ServicePluginCollection

Namespace

Drupal\analytics\Plugin

Code

public function __construct(PluginManagerInterface $manager, $instance_id, array $configuration, $analytics_service_id) {
  $this->analyticsServiceId = $analytics_service_id;
  parent::__construct($manager, $instance_id, $configuration);
}