function render_cache_get_renderer in Render cache 7.2
Returns a render cache render strategy plugin.
Parameters
string $type: The type of the plugin, e.g. "esi_validate", "esi", "ajax2, "ajax_lstorage", ...
Return value
\Drupal\render_cache\RenderCache\RenderStrategy\RenderStrategyInterface
2 calls to render_cache_get_renderer()
- BaseController::renderPlaceholders in src/
RenderCache/ Controller/ BaseController.php - render_cache_big_pipe_render_cache_page_post_send_alter in modules/
renderer/ render_cache_big_pipe/ render_cache_big_pipe.module - Implements hook_render_cache_page_post_send_alter().
File
- ./
render_cache.module, line 93 - Main module file for the Render Cache caching system.
Code
function render_cache_get_renderer($type) {
return RenderCache::getRenderStrategy($type);
}