You are here

public function TrackerUserRecent::getContent in Zircon Profile 8

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

Content callback for the tracker.users_recent_content route.

1 string reference to 'TrackerUserRecent::getContent'
tracker.routing.yml in core/modules/tracker/tracker.routing.yml
core/modules/tracker/tracker.routing.yml

File

core/modules/tracker/src/Controller/TrackerUserRecent.php, line 21
Contains \Drupal\tracker\Controller\TrackerUserRecent.

Class

TrackerUserRecent
Controller for tracker.users_recent_content route.

Namespace

Drupal\tracker\Controller

Code

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