public function FieldUiTitleController::__construct in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/Controller/FieldUiTitleController.php \Drupal\lightning_core\Controller\FieldUiTitleController::__construct()
- 8.2 src/Controller/FieldUiTitleController.php \Drupal\lightning_core\Controller\FieldUiTitleController::__construct()
- 8.3 src/Controller/FieldUiTitleController.php \Drupal\lightning_core\Controller\FieldUiTitleController::__construct()
- 8.4 src/Controller/FieldUiTitleController.php \Drupal\lightning_core\Controller\FieldUiTitleController::__construct()
FieldUiTitleController constructor.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationInterface $translator: The translation service.
File
- src/
Controller/ FieldUiTitleController.php, line 34
Class
- FieldUiTitleController
- Dynamically generates titles for various Field UI routes.
Namespace
Drupal\lightning_core\ControllerCode
public function __construct(RouteMatchInterface $route_match, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $translator) {
$this->routeMatch = $route_match;
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $translator;
}