1 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

core/modules/views/plugins/views_plugin_cache.inc, line 150
Definition of views_plugin_cache.

Class

views_plugin_cache
The base plugin to handle caching.

Code

function cache_flush() {
  cache($this->bin)->deletePrefix($this->view->name . ':');
}