You are here

public function AcquiaPurgeInvalidation::setStatus in Acquia Purge 7

Set status on the queue item, in the invalidation-specific context.

Overrides AcquiaPurgeQueueStatusTrait::setStatus

File

lib/invalidation/AcquiaPurgeInvalidation.php, line 132

Class

AcquiaPurgeInvalidation
Provides an invalidation object.

Code

public function setStatus($status) {
  $this->queue_item
    ->setStatusContext($this
    ->getParentContext());
  $this->queue_item
    ->setStatus($status);
}