You are here

public function AmpAnalytics::defaultConfiguration in Analytics 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ServicePluginBase::defaultConfiguration

File

analytics_amp/src/Plugin/AnalyticsService/AmpAnalytics.php, line 23

Class

AmpAnalytics
Provides AMP analytics.

Namespace

Drupal\analytics_amp\Plugin\AnalyticsService

Code

public function defaultConfiguration() {
  return [
    'type' => NULL,
    'config_url' => '',
    'config_json' => [],
  ];
}