Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 11.x for on
  5. Other projects
Title Object type File name Summary
CacheContextsManager class core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Converts cache context tokens into cache keys.
CacheContextsManager.php file core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php
CacheContextsManager::$container property core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php The service container.
CacheContextsManager::$contexts property core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Available cache context IDs and corresponding labels.
CacheContextsManager::$validContextTokens property core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php The set of valid context tokens.
CacheContextsManager::assertValidTokens function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Asserts the context tokens are valid.
CacheContextsManager::convertTokensToKeys function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Converts cache context tokens to cache keys.
CacheContextsManager::getAll function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Provides an array of available cache contexts.
CacheContextsManager::getLabels function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Provides an array of available cache context labels.
CacheContextsManager::getService function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Retrieves a cache context service from the container.
CacheContextsManager::optimizeTokens function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Optimizes cache context tokens (the minimal representative subset).
CacheContextsManager::parseTokens function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Parses cache context tokens into context IDs and optional parameters.
CacheContextsManager::validateTokens function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Validates an array of cache context tokens.
CacheContextsManager::__construct function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Constructs a CacheContextsManager object.
CacheContextsManagerTest class core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager[[api-linebreak]]
@group Cache
CacheContextsManagerTest.php file core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::getContextsFixture function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::getMockContainer function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::providerTestInvalidCalculatedContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of invalid 'baz' cache contexts: the parameter is missing.
CacheContextsManagerTest::providerTestOptimizeTokens function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of context token sets.
CacheContextsManagerTest::testAvailableContextLabels function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::testAvailableContextStrings function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::testConvertTokensToKeys function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::convertTokensToKeys[[api-linebreak]]
CacheContextsManagerTest::testInvalidCalculatedContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::convertTokensToKeys[[api-linebreak]]
CacheContextsManagerTest::testInvalidContext function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::convertTokensToKeys[[api-linebreak]]
CacheContextsManagerTest::testOptimizeTokens function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::optimizeTokens[[api-linebreak]]
CacheContextsManagerTest::testValidateContexts function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::validateTokens[[api-linebreak]]
CacheContextsManagerTest::validateTokensProvider function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of cache context token arrays.
CacheContextsPass class core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php Adds cache_contexts parameter to the container.
CacheContextsPass.php file core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php
CacheContextsPass::process function core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php Implements CompilerPassInterface::process().
CachedDiscoveryClearer::$container property core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php The service container.
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php Clears the cache on all cached discoveries.
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Clears the cache on all cached discoveries.
CachedDiscoveryClearer::__construct function core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php Constructs a ProxyClass Drupal proxy object.
CachedDiscoveryClearerInterface::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Clears the cache on all cached discoveries.
CachedDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php Clears static and persistent plugin definition caches.
CachedStorage::createCollection function core/lib/Drupal/Core/Config/CachedStorage.php Creates a collection on the storage.
CachedStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/CachedStorage.php Gets the existing collections.
CachedStorage::getCollectionName function core/lib/Drupal/Core/Config/CachedStorage.php Gets the name of the current collection the storage is using.
CachedStorage::getCollectionPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache ID prefix to use for the collection.
CachedStorage::__construct function core/lib/Drupal/Core/Config/CachedStorage.php Constructs a new CachedStorage.
CacheFactory::$container property core/lib/Drupal/Core/Cache/CacheFactory.php The service container.
CacheFactory::setContainer function core/lib/Drupal/Core/Cache/CacheFactory.php Sets the service container.
CacheFactory::__construct function core/lib/Drupal/Core/Cache/CacheFactory.php Constructs CacheFactory object.
CacheFactoryDecorator::__construct function core/modules/system/tests/modules/performance_test/src/Cache/CacheFactoryDecorator.php
CacheItem::__construct function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
CacheRedirect::__construct function core/lib/Drupal/Core/Cache/CacheRedirect.php Constructs a CacheRedirect object.
CacheRouterRebuildSubscriber::onRouterFinished function core/lib/Drupal/Core/EventSubscriber/CacheRouterRebuildSubscriber.php
CacheTagOperation.php file core/modules/system/tests/modules/performance_test/src/Cache/CacheTagOperation.php

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