public function DailyTagPurgeLimitCheck::__construct in CloudFlare 8
Constructs a DailyTagPurgeLimitCheck 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\cloudflare\CloudFlareStateInterface $state: Tracks rate limits associated with CloudFlare Api.
bool $composer_dependencies_met: Checks that the composer dependencies for CloudFlare are met.
Overrides PluginBase::__construct
File
- modules/
cloudflarepurger/ src/ Plugin/ Purge/ DiagnosticCheck/ DailyTagPurgeLimitCheck.php, line 58
Class
- DailyTagPurgeLimitCheck
- Checks that the site is within CloudFlare's daily tag purge rate limit.
Namespace
Drupal\cloudflarepurger\Plugin\Purge\DiagnosticCheckCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CloudFlareStateInterface $state, $composer_dependencies_met) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->state = $state;
$this->areCloudFlareComposerDependenciesMet = $composer_dependencies_met;
}