You are here

tracker.routing.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 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\TrackerPage::getContent'
  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\TrackerUserRecent::getContent'
  12. _title: 'My recent content'
  13. requirements:
  14. _permission: 'access content'
  15. _access_tracker_own_information: 'TRUE'
  16. user: \d+
  17. tracker.user_tab:
  18. path: '/user/{user}/activity'
  19. defaults:
  20. _controller: '\Drupal\tracker\Controller\TrackerUserTab::getContent'
  21. _title_callback: '\Drupal\tracker\Controller\TrackerUserTab::getTitle'
  22. requirements:
  23. _permission: 'access content'
  24. _entity_access: 'user.view'
  25. user: \d+