Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
26
core/modules/tracker/tracker.routing.yml
Normal file
26
core/modules/tracker/tracker.routing.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
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}'
|
||||
defaults:
|
||||
_controller: '\Drupal\tracker\Controller\TrackerUserRecent::getContent'
|
||||
_title: 'My recent content'
|
||||
requirements:
|
||||
_permission: 'access content'
|
||||
_access_tracker_own_information: 'TRUE'
|
||||
|
||||
tracker.user_tab:
|
||||
path: '/user/{user}/activity'
|
||||
defaults:
|
||||
_controller: '\Drupal\tracker\Controller\TrackerUserTab::getContent'
|
||||
_title_callback: '\Drupal\tracker\Controller\TrackerUserTab::getTitle'
|
||||
requirements:
|
||||
_permission: 'access content'
|
||||
_entity_access: 'user.view'
|
||||
|
Reference in a new issue