W3cubDocs

/Drupal 8

interface RenderCacheInterface

Defines an interface for caching rendered render arrays.

@internal

Hierarchy

See also

sec_caching

\Drupal\Core\Render\RendererInterface

File

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

Namespace

Drupal\Core\Render

Members

Name Modifiers Type Description
RenderCacheInterface::get public function Gets the cached, pre-rendered element of a renderable element from cache.
RenderCacheInterface::getCacheableRenderArray public function Gets a cacheable render array for a render array and its rendered output.
RenderCacheInterface::set public function Caches the rendered output of a renderable array.

© 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/interface/RenderCacheInterface/8.1.x