You are here

public function TitleResolver::__construct in Zircon Profile 8

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

Constructs a TitleResolver instance.

Parameters

\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.

File

core/lib/Drupal/Core/Controller/TitleResolver.php, line 36
Contains \Drupal\Core\Controller\TitleResolver.

Class

TitleResolver
Provides the default implementation of the title resolver interface.

Namespace

Drupal\Core\Controller

Code

public function __construct(ControllerResolverInterface $controller_resolver, TranslationInterface $string_translation) {
  $this->controllerResolver = $controller_resolver;
  $this->stringTranslation = $string_translation;
}