You are here

final public function RegistryCheck::__construct in URLs queuer 8

Constructs a RegistryCheck object.

Parameters

\Drupal\purge_queuer_url\TrafficRegistryInterface $registry: The traffic registry with the stored URLs and tags.

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.

Overrides PluginBase::__construct

File

src/Plugin/Purge/DiagnosticCheck/RegistryCheck.php, line 42

Class

RegistryCheck
Tests if the URL queuer's traffic registry is in a healthy shape.

Namespace

Drupal\purge_queuer_url\Plugin\Purge\DiagnosticCheck

Code

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