public function views_plugin_cache::cache_flush in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 plugins/views_plugin_cache.inc \views_plugin_cache::cache_flush()
- 6.2 plugins/views_plugin_cache.inc \views_plugin_cache::cache_flush()
Clear out cached data for a view.
We're just going to nuke anything related to the view, regardless of display, to be sure that we catch everything. Maybe that's a bad idea.
File
- plugins/
views_plugin_cache.inc, line 156 - Definition of views_plugin_cache.
Class
- views_plugin_cache
- The base plugin to handle caching.
Code
public function cache_flush() {
cache_clear_all($this->view->name . ':', $this->table, TRUE);
}