function ViewsTestDataViewsHooks::viewsInvalidateCache
Implements hook_views_invalidate_cache().
File
-
core/
modules/ views/ tests/ modules/ views_test_data/ src/ Hook/ ViewsTestDataViewsHooks.php, line 59
Class
- ViewsTestDataViewsHooks
- Hook implementations for views_test_data.
Namespace
Drupal\views_test_data\HookCode
public function viewsInvalidateCache() {
\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.