Search for addCacheableDependency

  1. Search 7.x for addCacheableDependency
  2. Search 9.5.x for addCacheableDependency
  3. Search 8.9.x for addCacheableDependency
  4. Search 11.x for addCacheableDependency
  5. Other projects
Title Object type File name Summary
BubbleableMetadata::addCacheableDependency function core/lib/Drupal/Core/Render/BubbleableMetadata.php
BubbleableMetadataTest::providerTestAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Provides test data for testMerge().
BubbleableMetadataTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @covers ::addCacheableDependency
@dataProvider providerTestMerge
CacheableMetadataTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::addCacheableDependency
@dataProvider providerTestMerge
CacheableResponseInterface::addCacheableDependency function core/lib/Drupal/Core/Cache/CacheableResponseInterface.php Adds a dependency on an object: merges its cacheability metadata.
CacheableResponseTrait::addCacheableDependency function core/lib/Drupal/Core/Cache/CacheableResponseTrait.php
Context::addCacheableDependency function core/lib/Drupal/Core/Plugin/Context/Context.php
ContextInterface::addCacheableDependency function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Adds a dependency on an object: merges its cacheability metadata.
NormalizerBase::addCacheableDependency function core/modules/serialization/src/Normalizer/NormalizerBase.php Adds cacheability if applicable.
RefinableCacheableDependencyInterface::addCacheableDependency function core/lib/Drupal/Core/Cache/RefinableCacheableDependencyInterface.php Adds a dependency on an object: merges its cacheability metadata.
RefinableCacheableDependencyTrait::addCacheableDependency function core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php
Renderer::addCacheableDependency function core/lib/Drupal/Core/Render/Renderer.php
RendererInterface::addCacheableDependency function core/lib/Drupal/Core/Render/RendererInterface.php Adds a dependency on an object: merges its cacheability metadata.
RendererTest::providerTestAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/RendererTest.php
RendererTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::addCacheableDependency
ViewUI::addCacheableDependency function core/modules/views_ui/src/ViewUI.php

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