You are here

public function TrackerUserTab::getContent in Zircon Profile 8

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

Content callback for the tracker.user_tab route.

1 string reference to 'TrackerUserTab::getContent'
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 21
Contains \Drupal\tracker\Controller\TrackerUserTab.

Class

TrackerUserTab
Controller for tracker.user_tab route.

Namespace

Drupal\tracker\Controller

Code

public function getContent(UserInterface $user) {
  module_load_include('inc', 'tracker', 'tracker.pages');
  return tracker_page($user);
}