public function TrackerController::getTitle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/tracker/src/Controller/TrackerController.php \Drupal\tracker\Controller\TrackerController::getTitle()
Title callback for the tracker.user_tab route.
Parameters
\Drupal\user\UserInterface $user: The user.
Return value
string The title.
1 string reference to 'TrackerController::getTitle'
- tracker.routing.yml in core/
modules/ tracker/ tracker.routing.yml - core/modules/tracker/tracker.routing.yml
File
- core/
modules/ tracker/ src/ Controller/ TrackerController.php, line 102
Class
- TrackerController
- Controller for tracker pages.
Namespace
Drupal\tracker\ControllerCode
public function getTitle(UserInterface $user) {
return $user
->getDisplayName();
}