public function VarnishPurgerBase::getTypes in Varnish purger 8
Same name and namespace in other branches
- 8.2 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\PurgerCode
public function getTypes() {
return [
$this->settings->invalidationtype,
];
}