You are here

public function QueueServiceInterface::delete in Purge 8.3

Delete invalidation objects from the queue.

Parameters

\Drupal\purge\Plugin\Purge\Invalidation\InvalidationInterface[] $invalidations: A non-associative array with invalidation objects to be deleted from the queue. The object instances and references thereto, remain to exist until the queue service is destructed, but should not be accessed anymore as they will be deleted anyway.

1 method overrides QueueServiceInterface::delete()
QueueService::delete in src/Plugin/Purge/Queue/QueueService.php
Delete invalidation objects from the queue.

File

src/Plugin/Purge/Queue/QueueServiceInterface.php, line 61

Class

QueueServiceInterface
Describes a service that lets invalidations interact with a queue backend.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function delete(array $invalidations);