public function RenderCacheInterface::get

public RenderCacheInterface::get(array $elements)

Gets the cached, pre-rendered element of a renderable element from cache.

Parameters

array $elements: A renderable array.

Return value

array|false A renderable array, with the original element and all its children pre- rendered, or FALSE if no cached copy of the element is available.

See also

\Drupal\Core\Render\RendererInterface::render()

::set()

File

core/lib/Drupal/Core/Render/RenderCacheInterface.php, line 48

Class

RenderCacheInterface
Defines an interface for caching rendered render arrays.

Namespace

Drupal\Core\Render

Code

public function get(array $elements);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!RenderCacheInterface.php/function/RenderCacheInterface::get/8.1.x