You are here

public function VarnishPurgerBase::getTypes in Varnish purger 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Purge/Purger/VarnishPurgerBase.php \Drupal\varnish_purger\Plugin\Purge\Purger\VarnishPurgerBase::getTypes()

Retrieve the list of supported invalidation types.

Return value

string[] List of supported invalidation type plugins.

Overrides PurgerBase::getTypes

See also

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

File

src/Plugin/Purge/Purger/VarnishPurgerBase.php, line 167

Class

VarnishPurgerBase
Abstract base class for HTTP based configurable purgers.

Namespace

Drupal\varnish_purger\Plugin\Purge\Purger

Code

public function getTypes() {
  return [
    $this->settings->invalidationtype,
  ];
}