You are here

public function InvalidationsServiceInterface::getImmutableFromQueueData in Purge 8.3

Replicate a immutable invalidation object from serialized queue item data.

Parameters

string $item_data: Arbitrary PHP data structured that was stored into the queue.

Return value

\Drupal\purge\Plugin\Purge\Invalidation\ImmutableInvalidationInterface The immutable invalidation object.

Throws

\Drupal\purge\Plugin\Purge\Invalidation\Exception\MissingExpressionException Thrown when plugin defined expression_required = TRUE and when it is instantiated without expression (NULL).

\Drupal\purge\Plugin\Purge\Invalidation\Exception\InvalidExpressionException Exception thrown when plugin got instantiated with an expression that is not deemed valid for the type of invalidation.

1 method overrides InvalidationsServiceInterface::getImmutableFromQueueData()
InvalidationsService::getImmutableFromQueueData in src/Plugin/Purge/Invalidation/InvalidationsService.php
Replicate a immutable invalidation object from serialized queue item data.

File

src/Plugin/Purge/Invalidation/InvalidationsServiceInterface.php, line 92

Class

InvalidationsServiceInterface
Describes a service that instantiates invalidation objects on-demand.

Namespace

Drupal\purge\Plugin\Purge\Invalidation

Code

public function getImmutableFromQueueData($item_data);