Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
CacheContextOptimizationTest class core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Tests the cache context optimization.
CacheContextOptimizationTest.php file core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php
CacheContextOptimizationTest::$modules property core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Modules to install.
CacheContextOptimizationTest::setUp function core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php
CacheContextOptimizationTest::testUserPermissionCacheContextOptimization function core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Ensures that 'user.permissions' cache context is able to define cache tags.
CacheContextOptimizationTest::testUserRolesCacheContextOptimization function core/tests/Drupal/KernelTests/Core/Cache/CacheContextOptimizationTest.php Ensures that 'user.roles' still works when it is optimized away.
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::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.
CacheContextsManagerTest::providerTestOptimizeTokens function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of context token sets.
CacheContextsManagerTest::testConvertTokensToKeys 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::validateTokensProvider function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Provides a list of cache context token arrays.
CachedStorage class core/lib/Drupal/Core/Config/CachedStorage.php Defines the cached storage.
CachedStorage.php file core/lib/Drupal/Core/Config/CachedStorage.php
CachedStorage::$cache property core/lib/Drupal/Core/Config/CachedStorage.php The instantiated Cache backend.
CachedStorage::$findByPrefixCache property core/lib/Drupal/Core/Config/CachedStorage.php List of listAll() prefixes with their results.
CachedStorage::$storage property core/lib/Drupal/Core/Config/CachedStorage.php The configuration storage to be cached.
CachedStorage::createCollection function core/lib/Drupal/Core/Config/CachedStorage.php Creates a collection on the storage.
CachedStorage::decode function core/lib/Drupal/Core/Config/CachedStorage.php Decodes configuration data from the storage-specific format.
CachedStorage::delete function core/lib/Drupal/Core/Config/CachedStorage.php Deletes a configuration object from the storage.
CachedStorage::deleteAll function core/lib/Drupal/Core/Config/CachedStorage.php Deletes configuration objects whose names start with a given prefix.
CachedStorage::encode function core/lib/Drupal/Core/Config/CachedStorage.php Encodes configuration data into the storage-specific format.
CachedStorage::exists function core/lib/Drupal/Core/Config/CachedStorage.php Returns whether a configuration object exists.
CachedStorage::findByPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Finds configuration object names starting with a given prefix.
CachedStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/CachedStorage.php Gets the existing collections.
CachedStorage::getCacheKey function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache key for a configuration name using the collection.
CachedStorage::getCacheKeys function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache key map for an array of configuration names.
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::listAll function core/lib/Drupal/Core/Config/CachedStorage.php Gets configuration object names starting with a given prefix.
CachedStorage::read function core/lib/Drupal/Core/Config/CachedStorage.php Reads configuration data from the storage.
CachedStorage::readMultiple function core/lib/Drupal/Core/Config/CachedStorage.php Reads configuration data from the storage.
CachedStorage::rename function core/lib/Drupal/Core/Config/CachedStorage.php Renames a configuration object in the storage.
CachedStorage::resetListCache function core/lib/Drupal/Core/Config/CachedStorage.php Clears the static list cache.
CachedStorage::write function core/lib/Drupal/Core/Config/CachedStorage.php Writes configuration data to the storage.
CachedStorage::__construct function core/lib/Drupal/Core/Config/CachedStorage.php Constructs a new CachedStorage.
CachedStorageTest class core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php Tests the interaction of cache and file storage in CachedStorage.
CachedStorageTest class core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php Tests CachedStorage operations.
CachedStorageTest.php file core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php
CachedStorageTest.php file core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
CachedStorageTest::$cache property core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php The cache backend the cached storage is using.
CachedStorageTest::$cacheFactory property core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
CachedStorageTest::$fileStorage property core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php The file storage the cached storage is using.
CachedStorageTest::delete function core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php Deletes configuration data from the storage.
CachedStorageTest::insert function core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php Inserts configuration data in the storage.
CachedStorageTest::read function core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php Reads configuration data from the storage.

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