protected static function RenderCachePlaceholder::drupalRender in Render cache 7.2
Overrides drupal_render().
@codeCoverageIgnore
Parameters
array $elements: The elements to render.
Return value
string The rendered HTML string.
2 calls to RenderCachePlaceholder::drupalRender()
- RenderCachePlaceholder::postRenderCacheCallback in src/
Cache/ RenderCachePlaceholder.php - Generic #post_render_cache callback for getPlaceholder().
- RenderCachePlaceholder::postRenderCacheMultiCallback in src/
Cache/ RenderCachePlaceholder.php - Generic #post_render_cache callback for getPlaceholder() with multi=TRUE.
1 method overrides RenderCachePlaceholder::drupalRender()
- RenderCachePlaceholderMock::drupalRender in tests/
src/ Cache/ RenderCachePlaceholderTest.php - Overrides drupal_render().
File
- src/
Cache/ RenderCachePlaceholder.php, line 163 - Contains \Drupal\render_cache\Cache\RenderCachePlaceholder
Class
- RenderCachePlaceholder
- Provides placeholder utility functions.
Namespace
Drupal\render_cache\CacheCode
protected static function drupalRender(array &$elements) {
return RenderCache::drupalRender($elements);
}