history.routing.yml in Zircon Profile 8.0
Same filename and directory in other branches
core/modules/history/history.routing.yml
2 string references to YAML keys in history.routing.yml
- HistoryTest::getNodeReadTimestamps in core/
modules/ history/ src/ Tests/ HistoryTest.php - Get node read timestamps from the server for the current user.
- HistoryTest::markNodeAsRead in core/
modules/ history/ src/ Tests/ HistoryTest.php - Mark a node as read for the current user.
File
core/modules/history/history.routing.ymlView source
- history.get_last_node_view:
- path: '/history/get_node_read_timestamps'
- defaults:
- _controller: '\Drupal\history\Controller\HistoryController::getNodeReadTimestamps'
- requirements:
- _permission: 'access content'
-
- history.read_node:
- path: '/history/{node}/read'
- defaults:
- _controller: '\Drupal\history\Controller\HistoryController::readNode'
- requirements:
- _entity_access: 'node.view'
- node: \d+