Helper methods for cache.
Hierarchy
- class \Drupal\Core\Cache\Cache
Related topics
- Cache API
- Information about the Drupal Cache API
File
- core/lib/Drupal/Core/Cache/Cache.php, line 12
Namespace
Drupal\Core\Cache
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| Cache::buildTags | public static | function | Build an array of cache tags from a given prefix and an array of suffixes. |
| Cache::getBins | public static | function | Gets all cache bin services. |
| Cache::invalidateTags | public static | function | Marks cache items from all bins with any of the specified tags as invalid. |
| Cache::keyFromQuery | public static | function | Generates a hash from a query object, to be used as part of the cache key. |
| Cache::mergeContexts | public static | function | Merges arrays of cache contexts and removes duplicates. |
| Cache::mergeMaxAges | public static | function | Merges max-age values (expressed in seconds), finds the lowest max-age. |
| Cache::mergeTags | public static | function | Merges arrays of cache tags and removes duplicates. |
| Cache::PERMANENT | constant | Indicates that the item should never be removed unless explicitly deleted. | |
| Cache::validateTags Deprecated | public static | function | Validates an array of cache tags. |
Please login to continue.