public function ConfigurationCheck::__construct in Varnish purger 8
Same name and namespace in other branches
- 8.2 src/Plugin/Purge/DiagnosticCheck/ConfigurationCheck.php \Drupal\varnish_purger\Plugin\Purge\DiagnosticCheck\ConfigurationCheck::__construct()
Constructs a \Drupal\purge\Plugin\Purge\DiagnosticCheck\PurgerAvailableCheck object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface $purge_purgers: The purge executive service, which wipes content from external caches.
Overrides PluginBase::__construct
File
- src/
Plugin/ Purge/ DiagnosticCheck/ ConfigurationCheck.php, line 41
Class
- ConfigurationCheck
- Verifies that only fully configured Varnish purgers load.
Namespace
Drupal\varnish_purger\Plugin\Purge\DiagnosticCheckCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, PurgersServiceInterface $purge_purgers) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->purgePurgers = $purge_purgers;
}