1. 8.5.x core/modules/node/node.routing.yml
  2. 8.0.x core/modules/node/node.routing.yml
  3. 8.1.x core/modules/node/node.routing.yml
  4. 8.2.x core/modules/node/node.routing.yml
  5. 8.3.x core/modules/node/node.routing.yml
  6. 8.4.x core/modules/node/node.routing.yml
  7. 8.6.x core/modules/node/node.routing.yml
core/modules/node/node.routing.yml
24 string references to YAML keys in node.routing.yml
BookLocalTasksTest::testBookNodeLocalTasks in core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php
Tests local task existence.
book_node_links_alter in core/modules/book/book.module
Implements hook_node_links_alter().
ContentTranslationLocalTasksTest::providerTestBlockAdminDisplay in core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php
Provides a list of routes to test.
DenyNodePreviewTest::providerPrivateImageStyleDownloadPolicy in core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php
Provides data and expected results for the test method.
FileFieldWidgetTest::doTestTemporaryFileRemovalExploit in core/modules/file/src/Tests/FileFieldWidgetTest.php
Helper for testing exploiting the temporary file removal using fid.

... See full list

File

core/modules/node/node.routing.yml
View source
  1. node.multiple_delete_confirm:
  2. path: '/admin/content/node/delete'
  3. defaults:
  4. _form: '\Drupal\node\Form\DeleteMultiple'
  5. requirements:
  6. _permission: 'administer nodes'
  7. node.add_page:
  8. path: '/node/add'
  9. defaults:
  10. _title: 'Add content'
  11. _controller: '\Drupal\node\Controller\NodeController::addPage'
  12. options:
  13. _node_operation_route: TRUE
  14. requirements:
  15. _node_add_access: 'node'
  16. node.add:
  17. path: '/node/add/{node_type}'
  18. defaults:
  19. _controller: '\Drupal\node\Controller\NodeController::add'
  20. _title_callback: '\Drupal\node\Controller\NodeController::addPageTitle'
  21. requirements:
  22. _node_add_access: 'node:{node_type}'
  23. options:
  24. _node_operation_route: TRUE
  25. parameters:
  26. node_type:
  27. with_config_overrides: TRUE
  28. entity.node.preview:
  29. path: '/node/preview/{node_preview}/{view_mode_id}'
  30. defaults:
  31. _controller: '\Drupal\node\Controller\NodePreviewController::view'
  32. _title_callback: '\Drupal\node\Controller\NodePreviewController::title'
  33. requirements:
  34. _node_preview_access: '{node_preview}'
  35. options:
  36. parameters:
  37. node_preview:
  38. type: 'node_preview'
  39. entity.node.version_history:
  40. path: '/node/{node}/revisions'
  41. defaults:
  42. _title: 'Revisions'
  43. _controller: '\Drupal\node\Controller\NodeController::revisionOverview'
  44. requirements:
  45. _access_node_revision: 'view'
  46. node: \d+
  47. options:
  48. _node_operation_route: TRUE
  49. entity.node.revision:
  50. path: '/node/{node}/revisions/{node_revision}/view'
  51. defaults:
  52. _controller: '\Drupal\node\Controller\NodeController::revisionShow'
  53. _title_callback: '\Drupal\node\Controller\NodeController::revisionPageTitle'
  54. requirements:
  55. _access_node_revision: 'view'
  56. node: \d+
  57. node.revision_revert_confirm:
  58. path: '/node/{node}/revisions/{node_revision}/revert'
  59. defaults:
  60. _form: '\Drupal\node\Form\NodeRevisionRevertForm'
  61. _title: 'Revert to earlier revision'
  62. requirements:
  63. _access_node_revision: 'update'
  64. node: \d+
  65. options:
  66. _node_operation_route: TRUE
  67. node.revision_revert_translation_confirm:
  68. path: '/node/{node}/revisions/{node_revision}/revert/{langcode}'
  69. defaults:
  70. _form: '\Drupal\node\Form\NodeRevisionRevertTranslationForm'
  71. _title: 'Revert to earlier revision of a translation'
  72. requirements:
  73. _access_node_revision: 'update'
  74. node: \d+
  75. options:
  76. _node_operation_route: TRUE
  77. node.revision_delete_confirm:
  78. path: '/node/{node}/revisions/{node_revision}/delete'
  79. defaults:
  80. _form: '\Drupal\node\Form\NodeRevisionDeleteForm'
  81. _title: 'Delete earlier revision'
  82. requirements:
  83. _access_node_revision: 'delete'
  84. node: \d+
  85. options:
  86. _node_operation_route: TRUE
  87. entity.node_type.collection:
  88. path: '/admin/structure/types'
  89. defaults:
  90. _entity_list: 'node_type'
  91. _title: 'Content types'
  92. requirements:
  93. _permission: 'administer content types'
  94. node.type_add:
  95. path: '/admin/structure/types/add'
  96. defaults:
  97. _entity_form: 'node_type.add'
  98. _title: 'Add content type'
  99. requirements:
  100. _permission: 'administer content types'
  101. entity.node_type.edit_form:
  102. path: '/admin/structure/types/manage/{node_type}'
  103. defaults:
  104. _entity_form: 'node_type.edit'
  105. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  106. requirements:
  107. _permission: 'administer content types'
  108. entity.node_type.delete_form:
  109. path: '/admin/structure/types/manage/{node_type}/delete'
  110. defaults:
  111. _entity_form: 'node_type.delete'
  112. _title: 'Delete'
  113. requirements:
  114. _entity_access: 'node_type.delete'
  115. node.configure_rebuild_confirm:
  116. path: '/admin/reports/status/rebuild'
  117. defaults:
  118. _form: 'Drupal\node\Form\RebuildPermissionsForm'
  119. requirements:
  120. _permission: 'access administration pages'