protected ViewsData::cacheSet($cid, $data)
Sets data to the cache backend.
Parameters
string $cid: The cache ID to set.
mixed $data: The data that will be cached.
File
- core/modules/views/src/ViewsData.php, line 210
Class
- ViewsData
- Class to manage and lazy load cached views data.
Namespace
Drupal\views
Code
1 2 3 | protected function cacheSet( $cid , $data ) { return $this ->cacheBackend->set( $this ->prepareCid( $cid ), $data , Cache::PERMANENT, array ( 'views_data' , 'config:core.extension' )); } |
Please login to continue.