function views_test_data_views_invalidate_cache

Same name in other branches
  1. 9 core/modules/views/tests/modules/views_test_data/views_test_data.views.inc \views_test_data_views_invalidate_cache()
  2. 8.9.x core/modules/views/tests/modules/views_test_data/views_test_data.views.inc \views_test_data_views_invalidate_cache()
  3. 11.x core/modules/views/tests/modules/views_test_data/views_test_data.views.inc \views_test_data_views_invalidate_cache()

Implements hook_views_invalidate_cache().

File

core/modules/views/tests/modules/views_test_data/views_test_data.views.inc, line 55

Code

function views_test_data_views_invalidate_cache() {
    \Drupal::state()->set('views_hook_test_views_invalidate_cache', TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.