history.routing.yml

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

File

core/modules/history/history.routing.yml

View source
  1. history.get_last_node_view:
  2. path: '/history/get_node_read_timestamps'
  3. defaults:
  4. _controller: '\Drupal\history\Controller\HistoryController::getNodeReadTimestamps'
  5. requirements:
  6. _permission: 'access content'
  7. history.read_node:
  8. path: '/history/{node}/read'
  9. defaults:
  10. _controller: '\Drupal\history\Controller\HistoryController::readNode'
  11. requirements:
  12. _entity_access: 'node.view'
  13. node: \d+

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