You are here

public function HttpPurgerBase::getTypes in Generic HTTP Purger 8

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/HttpPurgerBase.php, line 175

Class

HttpPurgerBase
Abstract base class for HTTP based configurable purgers.

Namespace

Drupal\purge_purger_http\Plugin\Purge\Purger

Code

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