Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EarlyRenderingControllerWrapperSubscriber.php

function EarlyRenderingControllerWrapperSubscriber::__construct

Constructs a new EarlyRenderingControllerWrapperSubscriber instance.

Parameters

\Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface $argument_resolver: The argument 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(ArgumentResolverInterface $argument_resolver, RendererInterface $renderer) {
    $this->argumentResolver = $argument_resolver;
    $this->renderer = $renderer;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal