public function WarmerPluginBase::setConfiguration in Warmer 8
Same name and namespace in other branches
- 2.x src/Plugin/WarmerPluginBase.php \Drupal\warmer\Plugin\WarmerPluginBase::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurableInterface::setConfiguration
3 calls to WarmerPluginBase::setConfiguration()
- CdnWarmer::submitConfigurationForm in modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php - Form submission handler.
- SitemapWarmer::submitConfigurationForm in modules/
warmer_cdn/ src/ Plugin/ warmer/ SitemapWarmer.php - Form submission handler.
- WarmerPluginBase::submitConfigurationForm in src/
Plugin/ WarmerPluginBase.php - Form submission handler.
File
- src/
Plugin/ WarmerPluginBase.php, line 80
Class
- WarmerPluginBase
- Base class for warmer plugins that implement settings forms.
Namespace
Drupal\warmer\PluginCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration + $this
->defaultConfiguration();
return $this;
}