You are here

public function PurgerBase::getTypes in Purge 8.3

Retrieve the list of supported invalidation types.

Return value

string[] List of supported invalidation type plugins.

Overrides PurgerInterface::getTypes

See also

\Drupal\purge\Annotation\PurgePurger::$types

File

src/Plugin/Purge/Purger/PurgerBase.php, line 140

Class

PurgerBase
Provides a base class for all purgers - the cache invalidation executors.

Namespace

Drupal\purge\Plugin\Purge\Purger

Code

public function getTypes() {
  return $this
    ->getPluginDefinition()['types'];
}