You are here

public function AcquiaPurgeQueueItem::getInvalidation in Acquia Purge 7

Create a invalidation object for the given scheme, domain and base path.

Parameters

string $scheme: The requested scheme to be invalidated: 'http' or 'https'.

string $domain: The domain name to clear the path on, e.g. "foo.com" or "bar.baz".

string $base_path: Drupal's base path (or the one Acquia Purge is told to clear).

Return value

AcquiaPurgeInvalidationInterface

Overrides AcquiaPurgeQueueItemInterface::getInvalidation

File

lib/queue/AcquiaPurgeQueueItem.php, line 114

Class

AcquiaPurgeQueueItem
Provides a queue item object.

Code

public function getInvalidation($scheme, $domain, $base_path) {
  return new $this->class_invalidation($scheme, $domain, $base_path, $this);
}