class TrackerUserRecent
Controller for tracker.users_recent_content route.
Hierarchy
- class \Drupal\Core\Controller\ControllerBase implements \Drupal\Core\DependencyInjection\ContainerInjectionInterface uses \Drupal\Core\Routing\LinkGeneratorTrait, \Drupal\Core\Logger\LoggerChannelTrait, \Drupal\Core\Messenger\MessengerTrait, \Drupal\Core\Routing\RedirectDestinationTrait, \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\Routing\UrlGeneratorTrait
- class \Drupal\tracker\Controller\TrackerController extends \Drupal\Core\Controller\ControllerBase
- class \Drupal\tracker\Controller\TrackerUserRecent extends \Drupal\tracker\Controller\TrackerController
- class \Drupal\tracker\Controller\TrackerController extends \Drupal\Core\Controller\ControllerBase
Expanded class hierarchy of TrackerUserRecent
File
-
core/
modules/ tracker/ src/ Controller/ TrackerUserRecent.php, line 12
Namespace
Drupal\tracker\ControllerView 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.