Extends CacheCollector to build the path alias whitelist over time.
Hierarchy
- class \Drupal\Core\Cache\CacheCollector implements CacheCollectorInterface, DestructableInterface
- class \Drupal\Core\Path\AliasWhitelist implements AliasWhitelistInterface
File
- core/lib/Drupal/Core/Path/AliasWhitelist.php, line 13
Namespace
Drupal\Core\Path
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| AliasWhitelist::$aliasStorage | protected | property | The Path CRUD service. |
| AliasWhitelist::$state | protected | property | The Key/Value Store to use for state. |
| AliasWhitelist::clear | public | function | Clears the collected cache entry. Overrides CacheCollector::clear |
| AliasWhitelist::get | public | function | Gets value from the cache. Overrides CacheCollector::get |
| AliasWhitelist::lazyLoadCache | protected | function | Loads the cache if not already done. Overrides CacheCollector::lazyLoadCache |
| AliasWhitelist::loadMenuPathRoots | protected | function | Loads menu path roots to prepopulate cache. |
| AliasWhitelist::resolveCacheMiss | public | function | Resolves a cache miss. Overrides CacheCollector::resolveCacheMiss |
| AliasWhitelist::__construct | public | function | Constructs an AliasWhitelist object. Overrides CacheCollector::__construct |
| CacheCollector::$cache | protected | property | The cache backend that should be used. |
| CacheCollector::$cacheCreated | protected | property | Stores the cache creation time. |
| CacheCollector::$cacheInvalidated | protected | property | Flag that indicates of the cache has been invalidated. |
| CacheCollector::$cacheLoaded | protected | property | Indicates if the collected cache was already loaded. |
| CacheCollector::$cid | protected | property | The cache id that is used for the cache entry. |
| CacheCollector::$keysToPersist | protected | property | An array of keys to add to the cache on service termination. |
| CacheCollector::$keysToRemove | protected | property | An array of keys to remove from the cache on service termination. |
| CacheCollector::$lock | protected | property | The lock backend that should be used. |
| CacheCollector::$storage | protected | property | Storage for the data itself. |
| CacheCollector::$tags | protected | property | A list of tags that are used for the cache entry. |
| CacheCollector::delete | public | function | Deletes the element. Overrides CacheCollectorInterface::delete |
| CacheCollector::destruct | public | function | Performs destruct operations. Overrides DestructableInterface::destruct |
| CacheCollector::getCid | protected | function | Gets the cache ID. |
| CacheCollector::has | public | function | Returns whether data exists for this key. Overrides CacheCollectorInterface::has |
| CacheCollector::invalidateCache | protected | function | Invalidate the cache. |
| CacheCollector::normalizeLockName | protected | function | Normalizes a cache ID in order to comply with database limitations. |
| CacheCollector::persist | protected | function | Flags an offset value to be written to the persistent cache. |
| CacheCollector::reset | public | function | Resets the local cache. Overrides CacheCollectorInterface::reset |
| CacheCollector::set | public | function | Implements \Drupal\Core\Cache\CacheCollectorInterface::set(). Overrides CacheCollectorInterface::set |
| CacheCollector::updateCache | protected | function | Writes a value to the persistent cache immediately. |
Please login to continue.