class TrackerUserRecent

Controller for tracker.users_recent_content route.

Hierarchy

Expanded class hierarchy of TrackerUserRecent

File

core/modules/tracker/src/Controller/TrackerUserRecent.php, line 12

Namespace

Drupal\tracker\Controller
View source
class TrackerUserRecent extends TrackerController {
  
  /**
   * Content callback for the tracker.users_recent_content route.
   */
  public function getContent(UserInterface $user) {
    return $this->buildContent($user);
  }

}

Members

Title Sort descending Deprecated Modifiers Object type Summary
LinkGeneratorTrait::$linkGenerator protected property The link generator.
LinkGeneratorTrait::getLinkGenerator Deprecated protected function Returns the link generator.
LinkGeneratorTrait::l Deprecated protected function Renders a link to a route given a route name and its parameters.
LinkGeneratorTrait::setLinkGenerator Deprecated public function Sets the link generator service.
TrackerUserRecent::getContent public function Content callback for the tracker.users_recent_content route.
UrlGeneratorTrait::$urlGenerator protected property The url generator.
UrlGeneratorTrait::getUrlGenerator Deprecated protected function Returns the URL generator service.
UrlGeneratorTrait::setUrlGenerator Deprecated public function Sets the URL generator service.
UrlGeneratorTrait::url Deprecated protected function Generates a URL or path for a specific route based on the given parameters.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.