You are here

public function TrackerUserTab::getTitle in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/tracker/src/Controller/TrackerUserTab.php \Drupal\tracker\Controller\TrackerUserTab::getTitle()

Title callback for the tracker.user_tab route.

1 string reference to 'TrackerUserTab::getTitle'
tracker.routing.yml in core/modules/tracker/tracker.routing.yml
core/modules/tracker/tracker.routing.yml

File

core/modules/tracker/src/Controller/TrackerUserTab.php, line 29
Contains \Drupal\tracker\Controller\TrackerUserTab.

Class

TrackerUserTab
Controller for tracker.user_tab route.

Namespace

Drupal\tracker\Controller

Code

public function getTitle(UserInterface $user) {
  return $user
    ->getUsername();
}