Trait to implement CacheableDependencyInterface for unchanging objects.
Hierarchy
- trait \Drupal\Core\Cache\UnchangingCacheableDependencyTrait
See also
\Drupal\Core\Cache\CacheableDependencyInterface
File
- core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php, line 10
Namespace
Drupal\Core\Cache
Members
Name | Modifiers | Type | Description |
---|---|---|---|
UnchangingCacheableDependencyTrait::getCacheContexts | public | function | The cache contexts associated with this object. Overrides CacheableDependencyInterface::getCacheContexts |
UnchangingCacheableDependencyTrait::getCacheMaxAge | public | function | The maximum age for which this object may be cached. Overrides CacheableDependencyInterface::getCacheMaxAge |
UnchangingCacheableDependencyTrait::getCacheTags | public | function | The cache tags associated with this object. Overrides CacheableDependencyInterface::getCacheTags |
Please login to continue.