RenderContext
class RenderContext extends SplStack (View source)
The render context: a stack containing bubbleable rendering metadata.
A stack of \Drupal\Core\Render\BubbleableMetadata objects.
Methods
Details
update(array $element)
Updates the current frame of the stack.
bubble()
Bubbles the stack.
Whenever another level in the render array has been rendered, the stack must be bubbled, to merge its rendering metadata with that of the parent element.