public cacheConfiguration ( |
||
$cache | The system cache | |
return | void |
public function cacheConfiguration(SystemCache $cache)
{
$cache->save('view_locations', serialize(['version' => '2.0', 'locations' => $this->locations]));
// this is saved just for the inspector and is not loaded in loadAll()
$cache->save('view_overrides', serialize($this->overrides));
}