You are here

public function TxBufferInterface::getFiltered in Purge 8.3

Only retrieve items from the buffer in a particular given state(s).

Parameters

int|array $states: Individual state or array with one of the following states:

Return value

\Drupal\purge\Plugin\Purge\Invalidation\InvalidationInterface[] List of invalidation objects.

1 method overrides TxBufferInterface::getFiltered()
TxBuffer::getFiltered in src/Plugin/Purge/Queue/TxBuffer.php
Only retrieve items from the buffer in a particular given state(s).

File

src/Plugin/Purge/Queue/TxBufferInterface.php, line 93

Class

TxBufferInterface
Describes the transaction buffer.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function getFiltered($states);