ViewsData::clear

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'));
}
doc_Drupal
2016-10-29 09:54:59
Comments
Leave a Comment

Please login to continue.