You are here

public function CachePluginBase::alterCacheMetadata in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\CachePluginBase::alterCacheMetadata()

Alters the cache metadata of a display upon saving a view.

Parameters

\Drupal\Core\Cache\CacheableMetadata $cache_metadata: The cache metadata.

File

core/modules/views/src/Plugin/views/cache/CachePluginBase.php, line 294
Contains \Drupal\views\Plugin\views\cache\CachePluginBase.

Class

CachePluginBase
The base plugin to handle caching.

Namespace

Drupal\views\Plugin\views\cache

Code

public function alterCacheMetadata(CacheableMetadata $cache_metadata) {
}