public function WarmerPluginBase::defaultConfiguration in Warmer 8
Same name and namespace in other branches
- 2.x src/Plugin/WarmerPluginBase.php \Drupal\warmer\Plugin\WarmerPluginBase::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
4 calls to WarmerPluginBase::defaultConfiguration()
- SitemapWarmer::defaultConfiguration in modules/
warmer_cdn/ src/ Plugin/ warmer/ SitemapWarmer.php - Gets default configuration for this plugin.
- WarmerPluginBase::buildConfigurationForm in src/
Plugin/ WarmerPluginBase.php - Form constructor.
- WarmerPluginBase::getConfiguration in src/
Plugin/ WarmerPluginBase.php - Gets this plugin's configuration.
- WarmerPluginBase::setConfiguration in src/
Plugin/ WarmerPluginBase.php - Sets the configuration for this plugin instance.
1 method overrides WarmerPluginBase::defaultConfiguration()
- SitemapWarmer::defaultConfiguration in modules/
warmer_cdn/ src/ Plugin/ warmer/ SitemapWarmer.php - Gets default configuration for this plugin.
File
- src/
Plugin/ WarmerPluginBase.php, line 88
Class
- WarmerPluginBase
- Base class for warmer plugins that implement settings forms.
Namespace
Drupal\warmer\PluginCode
public function defaultConfiguration() {
return [
'frequency' => 5 * 60,
'batchSize' => 50,
];
}