You are here

function render_cache_get_validator in Render cache 7.2

Returns a render cache validation strategy plugin.

Parameters

string $type:

Return value

\Drupal\render_cache\RenderCache\ValidationStrategy\ValidationStrategyInterface

File

./render_cache.module, line 80
Main module file for the Render Cache caching system.

Code

function render_cache_get_validator($type) {
  return RenderCache::getValidationStrategy($type);
}