You are here

public function DialogRenderer::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php \Drupal\Core\Render\MainContent\DialogRenderer::__construct()

Constructs a new DialogRenderer.

Parameters

\Drupal\Core\Controller\TitleResolverInterface $title_resolver: The title resolver.

File

core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php, line 35
Contains \Drupal\Core\Render\MainContent\DialogRenderer.

Class

DialogRenderer
Default main content renderer for dialog requests.

Namespace

Drupal\Core\Render\MainContent

Code

public function __construct(TitleResolverInterface $title_resolver) {
  $this->titleResolver = $title_resolver;
}