You are here

final public function ConfigurationCheck::__construct in Generic HTTP Purger 8

Constructs a ConfigurationCheck 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 43

Class

ConfigurationCheck
Verifies that only fully configured HTTP purgers load.

Namespace

Drupal\purge_purger_http\Plugin\Purge\DiagnosticCheck

Code

public final function __construct(array $configuration, $plugin_id, $plugin_definition, PurgersServiceInterface $purge_purgers) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->purgePurgers = $purge_purgers;
}