public CacheableMetadata::getCacheContexts()
public CacheableMetadata::applyTo(array &$build)
public CacheableMetadata::setCacheContexts(array $cache_contexts)
public static CacheableMetadata::createFromObject($object)
Defines a generic class for passing cacheability metadata. Hierarchy class \Drupal\Core\Cache\
public static CacheableMetadata::createFromRenderArray(array $build)
public CacheableMetadata::getCacheMaxAge()
public CacheableMetadata::setCacheMaxAge($max_age)
public CacheableMetadata::getCacheTags()
public CacheableMetadata::setCacheTags(array $cache_tags)
Page 1 of 2