1 date_views.test DateViewsTestCase::clearViewsCaches()

Clear all views caches and static caches which are required for the patch.

File

core/modules/date/tests/date_views.test, line 136
Tests date popup in Views

Class

DateViewsTestCase

Code

function clearViewsCaches() {
  // Reset views data cache.
  backdrop_static_reset('_views_fetch_data_cache');
  backdrop_static_reset('_views_fetch_data_recursion_protected');
  backdrop_static_reset('_views_fetch_data_fully_loaded');
}