TrackerUserTab.php

Namespace

Drupal\tracker\Controller

File

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

View source
<?php

namespace Drupal\tracker\Controller;

@trigger_error(__NAMESPACE__ . '\\TrackerUserTab 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.user_tab route.
 */
class TrackerUserTab extends TrackerController {
    
    /**
     * Content callback for the tracker.user_tab route.
     */
    public function getContent(UserInterface $user) {
        return $this->buildContent($user);
    }

}

Classes

Title Deprecated Summary
TrackerUserTab Controller for tracker.user_tab route.

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