public function SiteSettingsLoader::rebuildCache in Site Settings and Labels 8
Rebuild the cache.
1 call to SiteSettingsLoader::rebuildCache()
- SiteSettingsLoader::loadAll in src/
SiteSettingsLoader.php - Load site settings by fieldset.
File
- src/
SiteSettingsLoader.php, line 99
Class
- SiteSettingsLoader
- Class SiteSettingsLoader.
Namespace
Drupal\site_settingsCode
public function rebuildCache($langcode) {
$this
->buildSettings($langcode);
\Drupal::cache(self::SITE_SETTINGS_CACHE_BIN)
->set(self::SITE_SETTINGS_CACHE_CID . ':' . $langcode, $this->settings);
}