You are here

public function ServicePluginBase::defaultConfiguration in Analytics 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to ServicePluginBase::defaultConfiguration()
ServicePluginBase::setConfiguration in src/Plugin/ServicePluginBase.php
Sets the configuration for this plugin instance.
5 methods override ServicePluginBase::defaultConfiguration()
AmpAnalytics::defaultConfiguration in analytics_amp/src/Plugin/AnalyticsService/AmpAnalytics.php
Gets default configuration for this plugin.
AmpTrackingPixel::defaultConfiguration in analytics_amp/src/Plugin/AnalyticsService/AmpTrackingPixel.php
Gets default configuration for this plugin.
GoogleAnalyticsGa::defaultConfiguration in analytics_google/src/Plugin/AnalyticsService/GoogleAnalyticsGa.php
Gets default configuration for this plugin.
GoogleTagManager::defaultConfiguration in src/Plugin/AnalyticsService/GoogleTagManager.php
Gets default configuration for this plugin.
Piwik::defaultConfiguration in analytics_piwik/src/Plugin/AnalyticsService/Piwik.php
Gets default configuration for this plugin.

File

src/Plugin/ServicePluginBase.php, line 122

Class

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

Namespace

Drupal\analytics\Plugin

Code

public function defaultConfiguration() {
  return [];
}