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
CacheCollector::clear function core/lib/Drupal/Core/Cache/CacheCollector.php Clears the collected cache entry.
CacheCollector::delete function core/lib/Drupal/Core/Cache/CacheCollector.php Deletes the element.
CacheCollector::destruct function core/lib/Drupal/Core/Cache/CacheCollector.php Performs destruct operations.
CacheCollector::get function core/lib/Drupal/Core/Cache/CacheCollector.php Gets value from the cache.
CacheCollector::getCid function core/lib/Drupal/Core/Cache/CacheCollector.php Gets the cache ID.
CacheCollector::has function core/lib/Drupal/Core/Cache/CacheCollector.php Returns whether data exists for this key.
CacheCollector::invalidateCache function core/lib/Drupal/Core/Cache/CacheCollector.php Invalidate the cache.
CacheCollector::lazyLoadCache function core/lib/Drupal/Core/Cache/CacheCollector.php Loads the cache if not already done.
CacheCollector::persist function core/lib/Drupal/Core/Cache/CacheCollector.php Flags an offset value to be written to the persistent cache.
CacheCollector::reset function core/lib/Drupal/Core/Cache/CacheCollector.php Resets the local cache.
CacheCollector::resolveCacheMiss function core/lib/Drupal/Core/Cache/CacheCollector.php Resolves a cache miss.
CacheCollector::set function core/lib/Drupal/Core/Cache/CacheCollector.php Implements \Drupal\Core\Cache\CacheCollectorInterface::set().
CacheCollector::updateCache function core/lib/Drupal/Core/Cache/CacheCollector.php Writes a value to the persistent cache immediately.
CacheCollector::__construct function core/lib/Drupal/Core/Cache/CacheCollector.php Constructs a CacheCollector object.
CacheCollectorHelper class core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Helper class to test the cache collector.
CacheCollectorHelper.php file core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php
CacheCollectorHelper::$cacheMissData property core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Contains data to return on a cache miss.
CacheCollectorHelper::$cacheMisses property core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Number of calls to \Drupal\Core\Cache\CacheCollector::resolveCacheMiss().
CacheCollectorHelper::getCacheMisses function core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Returns the number of cache misses.
CacheCollectorHelper::resolveCacheMiss function core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Resolves a cache miss.
CacheCollectorHelper::set function core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Implements \Drupal\Core\Cache\CacheCollectorInterface::set().
CacheCollectorHelper::setCacheCreated function core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Setter for the cacheCreated property for use in unit tests.
CacheCollectorHelper::setCacheMissData function core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php Sets data to return from a cache miss resolve.
CacheCollectorInterface interface core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Provides a caching wrapper to be used in place of large structures.
CacheCollectorInterface.php file core/lib/Drupal/Core/Cache/CacheCollectorInterface.php
CacheCollectorInterface::clear function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Clears the collected cache entry.
CacheCollectorInterface::delete function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Deletes the element.
CacheCollectorInterface::get function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Gets value from the cache.
CacheCollectorInterface::has function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Returns whether data exists for this key.
CacheCollectorInterface::reset function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Resets the local cache.
CacheCollectorInterface::set function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Sets cache data.
CacheCollectorTest class core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php @coversDefaultClass \Drupal\Core\Cache\CacheCollector
@group Cache
CacheCollectorTest class core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Tests DatabaseBackend cache tag implementation.
CacheCollectorTest.php file core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
CacheCollectorTest.php file core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
CacheCollectorTest::$cacheBackend property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache backend that should be used.
CacheCollectorTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache tags invalidator.
CacheCollectorTest::$cid property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache id used for the test.
CacheCollectorTest::$collector property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Cache collector implementation to test.
CacheCollectorTest::$lock property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The lock backend that should be used.
CacheCollectorTest::providerTestInvalidCharacters function core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Data provider for ::testCacheCollector().
CacheCollectorTest::register function core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Registers test-specific services.
CacheCollectorTest::setUp function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
CacheCollectorTest::testCacheCollector function core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php Tests setting and invalidating.
CacheCollectorTest::testDelete function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests setting and deleting values.
CacheCollectorTest::testGetFromCache function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests returning value from the collected cache.
CacheCollectorTest::testResolveCacheMiss function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests the resolve cache miss function.
CacheCollectorTest::testSetAndGet function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests setting and getting values when the cache is empty.
CacheCollectorTest::testSetAndGetNull function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Makes sure that NULL is a valid value and is collected.
CacheCollectorTest::testUpdateCache function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache after a set.

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