You are here

public function SiteSettingsLoader::clearCache in Site Settings and Labels 8

Clear the cache.

File

src/SiteSettingsLoader.php, line 107

Class

SiteSettingsLoader
Class SiteSettingsLoader.

Namespace

Drupal\site_settings

Code

public function clearCache() {
  \Drupal::cache(self::SITE_SETTINGS_CACHE_BIN)
    ->deleteAll();
}