You are here

protected function ConfigManager::invalidateHeadersToRemoveCache in Remove HTTP headers 8

Invalidates the headers to remove cache.

1 call to ConfigManager::invalidateHeadersToRemoveCache()
ConfigManager::saveHeadersToRemoveToConfig in src/Config/ConfigManager.php
Saves the HTTP headers that should be removed to the configuration.

File

src/Config/ConfigManager.php, line 197

Class

ConfigManager
Manages module configuration.

Namespace

Drupal\remove_http_headers\Config

Code

protected function invalidateHeadersToRemoveCache() : void {
  $this->cache
    ->invalidate(self::HEADERS_TO_REMOVE_CACHE_TAG);
}