tracker.page:
path: '/activity'
defaults:
_controller: '\Drupal\tracker\Controller\TrackerPage::getContent'
_title: 'Recent content'
requirements:
_permission: 'access content'
tracker.users_recent_content:
path: '/activity/{user}'
_controller: '\Drupal\tracker\Controller\TrackerUserRecent::getContent'
_title: 'My recent content'
_access_tracker_own_information: 'TRUE'
user: \d+
tracker.user_tab:
path: '/user/{user}/activity'
_controller: '\Drupal\tracker\Controller\TrackerUserTab::getContent'
_title_callback: '\Drupal\tracker\Controller\TrackerUserTab::getTitle'
_entity_access: 'user.view'