You are here

public function RenderCacheBackendAdapterInterface::setMultiple in Render cache 7.2

This sets multiple cache entries based on the cache info map.

It is expected that $build and $cache_info_map are keyed by the same IDs.

Parameters

array &$build: The build of render arrays, keyed by ID.

array $cache_info_map: The cache information map, keyed by ID, consisting of cache info structs.

1 method overrides RenderCacheBackendAdapterInterface::setMultiple()
RenderCacheBackendAdapter::setMultiple in src/Cache/RenderCacheBackendAdapter.php
This sets multiple cache entries based on the cache info map.

File

src/Cache/RenderCacheBackendAdapterInterface.php, line 82
Contains \Drupal\render_cache\Cache\RenderCacheBackendAdapterInterface

Class

RenderCacheBackendAdapterInterface
Defines an interface for the render cache backend adapter.

Namespace

Drupal\render_cache\Cache

Code

public function setMultiple(array &$build, array $cache_info_map);