public ViewsData::clear()
Clears the class storage and cache.
File
- core/modules/views/src/ViewsData.php, line 329
Class
- ViewsData
- Class to manage and lazy load cached views data.
Namespace
Drupal\views
Code
public function clear() {
$this->storage = array();
$this->allStorage = array();
$this->fullyLoaded = FALSE;
Cache::invalidateTags(array('views_data'));
}
Please login to continue.