function ViewUI::addCacheableDependency

Same name in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addCacheableDependency()
  2. 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addCacheableDependency()
  3. 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::addCacheableDependency()

Overrides RefinableCacheableDependencyInterface::addCacheableDependency

File

core/modules/views_ui/src/ViewUI.php, line 1318

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function addCacheableDependency($other_object) {
    $this->storage
        ->addCacheableDependency($other_object);
    return $this;
}

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