protected Renderer::getCurrentRenderContext()
Returns the current render context.
Return value
\Drupal\Core\Render\RenderContext The current render context.
File
- core/lib/Drupal/Core/Render/Renderer.php, line 592
Class
- Renderer
- Turns a render array into a HTML string.
Namespace
Drupal\Core\Render
Code
protected function getCurrentRenderContext() { $request = $this->requestStack->getCurrentRequest(); return isset(static::$contextCollection[$request]) ? static::$contextCollection[$request] : NULL; }
Please login to continue.