Provides the default implementation of the title resolver interface.
Hierarchy
- class \Drupal\Core\Controller\TitleResolver implements TitleResolverInterface uses StringTranslationTrait
File
- core/lib/Drupal/Core/Controller/TitleResolver.php, line 13
Namespace
Drupal\Core\Controller
Members
Name | Modifiers | Type | Description |
---|---|---|---|
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
TitleResolver::$controllerResolver | protected | property | The controller resolver. |
TitleResolver::getTitle | public | function | Returns a static or dynamic title for the route. Overrides TitleResolverInterface::getTitle |
TitleResolver::__construct | public | function | Constructs a TitleResolver instance. |
Please login to continue.