You are here

public static function BackendInterface::validateConfiguration in Acquia Purge 8

Validate the configuration array given.

Parameters

array $config: Associative array with arbitrary settings coming from: \Drupal\acquia_purge\AcquiaCloud\PlatformInfoInterface::getPlatformCdnConfiguration.

Return value

bool Boolean TRUE if the configuration array is valid. When returning FALSE the AcquiaPlatformCdnPurger will not load as a result and cache invalidation will be stopped until the configuration issue got fixed.

1 method overrides BackendInterface::validateConfiguration()
FastlyBackend::validateConfiguration in src/AcquiaPlatformCdn/FastlyBackend.php
Validate the configuration array given.

File

src/AcquiaPlatformCdn/BackendInterface.php, line 122

Class

BackendInterface
Describes a vendor backend for the Platform CDN purger.

Namespace

Drupal\acquia_purge\AcquiaPlatformCdn

Code

public static function validateConfiguration(array $config);