public EarlyRenderingControllerWrapperSubscriber::__construct(ControllerResolverInterface $controller_resolver, RendererInterface $renderer)
Constructs a new EarlyRenderingControllerWrapperSubscriber instance.
Parameters
\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php, line 79
Class
- EarlyRenderingControllerWrapperSubscriber
- Subscriber that wraps controllers, to handle early rendering.
Namespace
Drupal\Core\EventSubscriber
Code
public function __construct(ControllerResolverInterface $controller_resolver, RendererInterface $renderer) { $this->controllerResolver = $controller_resolver; $this->renderer = $renderer; }
Please login to continue.