You are here

public function CdnWarmer::defaultConfiguration in Warmer 2.x

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WarmerPluginBase::defaultConfiguration

File

modules/warmer_cdn/src/Plugin/warmer/CdnWarmer.php, line 191

Class

CdnWarmer
The cache warmer for the built-in entity cache.

Namespace

Drupal\warmer_cdn\Plugin\warmer

Code

public function defaultConfiguration() {
  return [
    'maxConcurrentRequests' => 10,
  ] + parent::defaultConfiguration();
}