You are here

public function AcquiaPlatformCdnPurger::invalidateEverything in Acquia Purge 8

Invalidate the entire CDN.

See also

\Drupal\purge\Plugin\Purge\Purger\PurgerInterface::invalidate()

\Drupal\purge\Plugin\Purge\Purger\PurgerInterface::routeTypeToMethod()

File

src/Plugin/Purge/Purger/AcquiaPlatformCdnPurger.php, line 158

Class

AcquiaPlatformCdnPurger
Acquia Platform CDN (beta).

Namespace

Drupal\acquia_purge\Plugin\Purge\Purger

Code

public function invalidateEverything(array $invalidations) {
  $this
    ->initializeBackend();
  $this
    ->debugger()
    ->callerAdd(__METHOD__);
  $this->backend
    ->invalidateEverything($invalidations);
  $this
    ->debugger()
    ->callerRemove(__METHOD__);
}