interface RendererInterface

Defines an interface for turning a render array into a string.

Hierarchy

File

core/lib/Drupal/Core/Render/RendererInterface.php, line 8

Namespace

Drupal\Core\Render

Members

Name Modifiers Type Description
RendererInterface::addCacheableDependency public function Adds a dependency on an object: merges its cacheability metadata.
RendererInterface::executeInRenderContext public function Executes a callable within a render context.
RendererInterface::hasRenderContext public function Checks whether a render context is active.
RendererInterface::mergeBubbleableMetadata public function Merges the bubbleable rendering metadata o/t 2nd render array with the 1st.
RendererInterface::render public function Renders HTML given a structured array tree.
RendererInterface::renderPlaceholder public function Renders final HTML for a placeholder.
RendererInterface::renderPlain public function Renders final HTML in situations where no assets are needed.
RendererInterface::renderRoot public function Renders final HTML given a structured array tree.

© 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!RendererInterface.php/interface/RendererInterface/8.1.x