public function WarmerPluginBase::defaultConfiguration in Warmer 2.x
Same name and namespace in other branches
- 8 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
5 calls to WarmerPluginBase::defaultConfiguration()
- CdnWarmer::defaultConfiguration in modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php - Gets default configuration for this plugin.
- 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.
2 methods override WarmerPluginBase::defaultConfiguration()
- CdnWarmer::defaultConfiguration in modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php - Gets default configuration for this plugin.
- 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,
];
}