function _render_cache_post_render in Render cache 7
2 calls to _render_cache_post_render()
- render_cache_entity_view_callback in ./
render_cache.module - Override entity API rendering callback to add a caching layer.
- render_cache_view_field in ./
render_cache.module - Helper function to view a single entity field.
File
- ./
render_cache.module, line 192 - Hook implementations and frequently used functions for render cache module.
Code
function _render_cache_post_render(array &$render, $id) {
// Potentially merge back previously saved properties.
if (!empty($render['#attached']['render_cache'])) {
$render += $render['#attached']['render_cache'];
unset($render['#attached']['render_cache']);
}
// Run any post-render callbacks.
render_cache_process_attached_callbacks($render, $id);
}