You are here

function render_cache_get_controller in Render cache 7.2

Returns a render cache controller.

Parameters

string $type:

Return value

\Drupal\render_cache\RenderCache\Controller\ControllerInterface

7 calls to render_cache_get_controller()
BigPipeRenderStrategy::renderPlaceholder in modules/renderer/render_cache_big_pipe/src/RenderCache/RenderStrategy/BigPipeRenderStrategy.php
DirectRenderStrategy::render in src/RenderCache/RenderStrategy/DirectRenderStrategy.php
render_cache_block_get_blocks_by_region in modules/controller/render_cache_block/render_cache_block.module
Overrides block_get_blocks_by_region().
render_cache_entity_view_callback in modules/controller/render_cache_entity/render_cache_entity.module
Override entity API rendering callback to add a caching layer.
render_cache_hijack_context_reaction_block::renderBlocks in modules/utility/render_cache_context/context/plugins/render_cache_hijack_context_reaction_block.inc

... See full list

File

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

Code

function render_cache_get_controller($type) {
  return RenderCache::getController($type);
}