You are here

public function TagsHeadersService::reload in Purge 8.3

Reload the service and reinstantiate all enabled plugins.

@warning Reloading a service implies that all cached data will be reset and that plugins get reinstantiated during the current request, which should normally not be used. This method is specifically used in tests.

Overrides ServiceBase::reload

File

src/Plugin/Purge/TagsHeader/TagsHeadersService.php, line 96

Class

TagsHeadersService
Provides a service that provides access to available tags headers.

Namespace

Drupal\purge\Plugin\Purge\TagsHeader

Code

public function reload() {
  parent::reload();
  $this
    ->reloadIterator();
}