You are here

protected function RenderCacheBackendAdapter::validate in Render cache 7.2

Checks that a cache entry is still valid.

Parameters

array $render: The render array to check.

Return value

bool TRUE when its valid, FALSE otherwise.

1 call to RenderCacheBackendAdapter::validate()
RenderCacheBackendAdapter::getMultiple in src/Cache/RenderCacheBackendAdapter.php
Gets multiple cache entries based on the cache info map.

File

src/Cache/RenderCacheBackendAdapter.php, line 222
Contains \Drupal\render_cache\Cache\RenderCacheBackendAdapter

Class

RenderCacheBackendAdapter
Defines the render_cache.cache service.

Namespace

Drupal\render_cache\Cache

Code

protected function validate(array $render) {

  // @todo implement.
  return TRUE;
}