tracker.routing.yml

Same filename in other branches
  1. 9 core/modules/tracker/tracker.routing.yml
  2. 8.9.x core/modules/tracker/tracker.routing.yml
  3. 11.x core/modules/tracker/tracker.routing.yml
core/modules/tracker/tracker.routing.yml

File

core/modules/tracker/tracker.routing.yml

View source
  1. tracker.page:
  2. path: '/activity'
  3. defaults:
  4. _controller: '\Drupal\tracker\Controller\TrackerController::buildContent'
  5. _title: 'Recent content'
  6. requirements:
  7. _permission: 'access content'
  8. tracker.users_recent_content:
  9. path: '/activity/{user}'
  10. defaults:
  11. _controller: '\Drupal\tracker\Controller\TrackerController::buildContent'
  12. _title: 'My recent content'
  13. requirements:
  14. _permission: 'access content'
  15. _custom_access: '\Drupal\tracker\Controller\TrackerController::checkAccess'
  16. user: \d+
  17. tracker.user_tab:
  18. path: '/user/{user}/activity'
  19. defaults:
  20. _controller: '\Drupal\tracker\Controller\TrackerController::buildContent'
  21. _title_callback: '\Drupal\tracker\Controller\TrackerController::getTitle'
  22. requirements:
  23. _permission: 'access content'
  24. _entity_access: 'user.view'
  25. user: \d+

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