You are here

public function PurgerInterface::delete in Purge 8.3

The current instance of this purger plugin is about to be deleted.

When end-users decide to uninstall this purger through the user interface, this method gets called. Especially when this purger is multi-instantiable this gets useful as it allows to remove configuration and perform cleanup prior to when the instance gets uninstalled.

See also

\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface::setPluginsEnabled()

1 method overrides PurgerInterface::delete()
PurgerBase::delete in src/Plugin/Purge/Purger/PurgerBase.php
The current instance of this purger plugin is about to be deleted.

File

src/Plugin/Purge/Purger/PurgerInterface.php, line 23

Class

PurgerInterface
Describes a purger - the cache invalidation executor.

Namespace

Drupal\purge\Plugin\Purge\Purger

Code

public function delete();