You are here

public function AcquiaPlatformCdnPurger::invalidateUrls in Acquia Purge 8

Invalidate a set of URL invalidations.

See also

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

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

File

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

Class

AcquiaPlatformCdnPurger
Acquia Platform CDN (beta).

Namespace

Drupal\acquia_purge\Plugin\Purge\Purger

Code

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