UnchangingCacheableDependencyTrait

Trait to implement CacheableDependencyInterface for unchanging objects.

Hierarchy

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
doc_Drupal
2016-10-29 09:50:18
Comments
Leave a Comment

Please login to continue.