function ViewUI::addCacheContexts
Same name in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addCacheContexts()
- 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addCacheContexts()
- 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addCacheContexts()
Overrides RefinableCacheableDependencyInterface::addCacheContexts
File
-
core/
modules/ views_ui/ src/ ViewUI.php, line 1326
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function addCacheContexts(array $cache_contexts) {
return $this->storage
->addCacheContexts($cache_contexts);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.