TitleResolver::__construct

public TitleResolver::__construct(ControllerResolverInterface $controller_resolver, TranslationInterface $string_translation)

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 31

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

Please login to continue.