function CacheCollector::resolveCacheMiss
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::resolveCacheMiss()
- 8.9.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::resolveCacheMiss()
- 11.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::resolveCacheMiss()
Resolves a cache miss.
When an offset is not found in the object, this is treated as a cache miss. This method allows classes using this implementation to look up the actual value and allow it to be cached.
Parameters
string $key: The offset that was requested.
Return value
mixed The value of the offset, or NULL if no value was found.
1 call to CacheCollector::resolveCacheMiss()
- CacheCollector::get in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - Gets value from the cache.
8 methods override CacheCollector::resolveCacheMiss()
- AliasWhitelist::resolveCacheMiss in core/
modules/ path_alias/ src/ AliasWhitelist.php - Resolves a cache miss.
- BlockContentUuidLookup::resolveCacheMiss in core/
modules/ block_content/ src/ BlockContentUuidLookup.php - Resolves a cache miss.
- CacheCollectorHelper::resolveCacheMiss in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheCollectorHelper.php - Resolves a cache miss.
- LibraryDiscoveryCollector::resolveCacheMiss in core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryCollector.php - Resolves a cache miss.
- LocaleLookup::resolveCacheMiss in core/
modules/ locale/ src/ LocaleLookup.php - Resolves a cache miss.
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php, line 213
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\CacheCode
protected abstract function resolveCacheMiss($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.