You are here

public property PurgePurger::$types in Purge 8.3

Types supported by the purger.

A list of invalidation types that are supported by the purger plugin, for instance 'tag', 'path' or 'url'. The plugin will only receive invalidation requests for the given types, others fail with state NOT_SUPPORTED. It is possible to dynamically provide this list by overloading the base implementation.

Type: string[]

See also

\Drupal\purge\Plugin\Purge\Purger\PurgerInterface::getTypes()

File

src/Annotation/PurgePurger.php, line 87

Class

PurgePurger
Defines a PurgePurger annotation object.

Namespace

Drupal\purge\Annotation

Code

public $types = [];