Search for end

  1. Search 7.x for end
  2. Search 9.5.x for end
  3. Search 10.3.x for end
  4. Search 11.x for end
  5. Other projects
Title Object type File name Summary
CacheableDependencyInterface::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php The maximum age for which this object may be cached.
CacheableDependencyInterface::getCacheTags function core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php The cache tags associated with this object.
CacheableDependencyTrait trait core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Trait for \Drupal\Core\Cache\CacheableDependencyInterface.
CacheableDependencyTrait.php file core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::$cacheContexts property core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Cache contexts.
CacheableDependencyTrait::$cacheMaxAge property core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Cache max-age.
CacheableDependencyTrait::$cacheTags property core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Cache tags.
CacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::getCacheTags function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableDependencyTrait::setCacheability function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Sets cacheability; useful for value object constructors.
CacheableMetadata::createFromRenderArray function core/lib/Drupal/Core/Cache/CacheableMetadata.php Creates a CacheableMetadata object with values taken from a render array.
CacheableMetadataTest::providerTestCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php Provides test data for createFromRenderArray().
CacheableMetadataTest::testAddCacheableDependency function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::addCacheableDependency[[api-linebreak]]
@dataProvider providerTestMerge
CacheableMetadataTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @covers ::createFromRenderArray[[api-linebreak]]
@dataProvider providerTestCreateFromRenderArray
CacheableNormalization::withCacheableDependency function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Gets a new CacheableNormalization with an additional dependency.
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
CacheBackendInterface interface core/lib/Drupal/Core/Cache/CacheBackendInterface.php Defines an interface for cache implementations.
CacheBackendInterface.php file core/lib/Drupal/Core/Cache/CacheBackendInterface.php
CacheBackendInterface::CACHE_PERMANENT constant core/lib/Drupal/Core/Cache/CacheBackendInterface.php Indicates that the item should never be removed unless explicitly deleted.
CacheBackendInterface::delete function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Deletes an item from the cache.
CacheBackendInterface::deleteAll function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Deletes all cache items in a bin.
CacheBackendInterface::deleteMultiple function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Deletes multiple items from the cache.
CacheBackendInterface::garbageCollection function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Performs garbage collection on a cache bin.
CacheBackendInterface::get function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Returns data from the persistent cache.
CacheBackendInterface::getMultiple function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Returns data from the persistent cache when given an array of cache IDs.
CacheBackendInterface::invalidate function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Marks a cache item as invalid.
CacheBackendInterface::invalidateAll function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Marks all cache items as invalid.
CacheBackendInterface::invalidateMultiple function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Marks cache items as invalid.
CacheBackendInterface::removeBin function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Remove a cache bin.
CacheBackendInterface::set function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Stores data in the persistent cache.
CacheBackendInterface::setMultiple function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Store multiple items in the persistent cache.
CacheCollectorTest::$cacheBackend property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache backend that should be used.
CacheFactory::$defaultBinBackends property core/lib/Drupal/Core/Cache/CacheFactory.php A map of cache bin to default cache backend service name.
CacheFactoryTest::testCacheFactoryWithCustomizedDefaultBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory falls back to customized default service.
CacheFactoryTest::testCacheFactoryWithDefaultBinBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory uses the correct default bin backend.
CacheFactoryTest::testCacheFactoryWithSpecifiedPerBinBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory picks the correct per-bin service.
CachePluginBase::postRender function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Post process any rendered data.
CacheTagsChecksumTrait::rootTransactionEndCallback function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Callback to be invoked just after a database transaction gets committed.
CacheTagTest::getRenderCache function core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php Gets the render cache for a given view.
ChainedFastBackend class core/lib/Drupal/Core/Cache/ChainedFastBackend.php Defines a backend with a fast and a consistent backend chain.
ChainedFastBackend.php file core/lib/Drupal/Core/Cache/ChainedFastBackend.php
ChainedFastBackend::$bin property core/lib/Drupal/Core/Cache/ChainedFastBackend.php
ChainedFastBackend::$consistentBackend property core/lib/Drupal/Core/Cache/ChainedFastBackend.php The consistent cache backend.
ChainedFastBackend::$fastBackend property core/lib/Drupal/Core/Cache/ChainedFastBackend.php The fast cache backend.
ChainedFastBackend::$lastWriteTimestamp property core/lib/Drupal/Core/Cache/ChainedFastBackend.php The time at which the last write to this cache bin happened.
ChainedFastBackend::delete function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Deletes an item from the cache.
ChainedFastBackend::deleteAll function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Deletes all cache items in a bin.
ChainedFastBackend::deleteMultiple function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Deletes multiple items from the cache.

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