EarlyRenderingControllerWrapperSubscriber::__construct

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;
}
doc_Drupal
2016-10-29 09:03:29
Comments
Leave a Comment

Please login to continue.