protected function AnalyticsService::servicePluginCollection in Analytics 8
Encapsulates the creation of the services's LazyPluginCollection.
Return value
\Drupal\Component\Plugin\LazyPluginCollection The service's plugin collection.
1 call to AnalyticsService::servicePluginCollection()
- AnalyticsService::getPluginCollections in src/
Entity/ AnalyticsService.php - Gets the plugin collections used by this object.
File
- src/
Entity/ AnalyticsService.php, line 123
Class
- AnalyticsService
- Defines the analytics instance entity.
Namespace
Drupal\analytics\EntityCode
protected function servicePluginCollection() {
if (!isset($this->pluginCollection) && isset($this->service)) {
$this->pluginCollection = new ServicePluginCollection($this
->analyticsServicePluginManager(), $this->service, $this->service_configuration, $this
->id());
}
return $this->pluginCollection;
}