class RenderContext
The render context: a stack containing bubbleable rendering metadata.
A stack of \Drupal\Core\Render\BubbleableMetadata objects.
@internal
Hierarchy
- class \Drupal\Core\Render\RenderContext extends \SplStack
See also
\Drupal\Core\Render\RendererInterface
\Drupal\Core\Render\BubbleableMetadata
File
- core/lib/Drupal/Core/Render/RenderContext.php, line 16
Namespace
Drupal\Core\RenderMembers
Name | Modifiers | Type | Description |
---|---|---|---|
RenderContext::bubble | public | function | Bubbles the stack. |
RenderContext::update | public | function | Updates the current frame of the stack. |
© 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!RenderContext.php/class/RenderContext/8.1.x