You are here

protected function ViewsModuleTest::resetStaticViewsDataCache in Views (for Drupal 7) 7.3

Resets the views data cache.

1 call to ViewsModuleTest::resetStaticViewsDataCache()
ViewsModuleTest::testFetchData in tests/views_module.test
Tests views_fetch_data().

File

tests/views_module.test, line 239
Definition of ViewsModuleTest.

Class

ViewsModuleTest
Tests basic functions from the Views module.

Code

protected function resetStaticViewsDataCache() {
  drupal_static_reset('_views_fetch_data_cache');
  drupal_static_reset('_views_fetch_data_recursion_protected');
  drupal_static_reset('_views_fetch_data_fully_loaded');
}