TrackerUserRecent.php

Namespace

Drupal\tracker\Controller

File

core/modules/tracker/src/Controller/TrackerUserRecent.php

View source
<?php

namespace Drupal\tracker\Controller;

@trigger_error(__NAMESPACE__ . '\\TrackerUserRecent is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \\Drupal\\tracker\\Controller\\TrackerController instead. See https://www.drupal.org/node/3030645', E_USER_DEPRECATED);
use Drupal\user\UserInterface;

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

}

Classes

Title Deprecated Summary
TrackerUserRecent Controller for tracker.users_recent_content route.

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