You are here

book.routing.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/book/book.routing.yml
core/modules/book/book.routing.yml

File

core/modules/book/book.routing.yml
View source
  1. book.render:
  2. path: '/book'
  3. defaults:
  4. _controller: '\Drupal\book\Controller\BookController::bookRender'
  5. _title: 'Books'
  6. requirements:
  7. _permission: 'access content'
  8. book.admin:
  9. path: '/admin/structure/book'
  10. defaults:
  11. _controller: '\Drupal\book\Controller\BookController::adminOverview'
  12. _title: 'Books'
  13. requirements:
  14. _permission: 'administer book outlines'
  15. book.settings:
  16. path: '/admin/structure/book/settings'
  17. defaults:
  18. _form: '\Drupal\book\Form\BookSettingsForm'
  19. _title: 'Books'
  20. requirements:
  21. _permission: 'administer site configuration'
  22. book.export:
  23. path: '/book/export/{type}/{node}'
  24. defaults:
  25. _controller: '\Drupal\book\Controller\BookController::bookExport'
  26. requirements:
  27. _permission: 'access printer-friendly version'
  28. _entity_access: 'node.view'
  29. node: \d+
  30. entity.node.book_outline_form:
  31. path: '/node/{node}/outline'
  32. defaults:
  33. _entity_form: 'node.book_outline'
  34. _title: 'Outline'
  35. requirements:
  36. _permission: 'administer book outlines'
  37. _entity_access: 'node.view'
  38. node: \d+
  39. options:
  40. _node_operation_route: TRUE
  41. book.admin_edit:
  42. path: '/admin/structure/book/{node}'
  43. defaults:
  44. _form: 'Drupal\book\Form\BookAdminEditForm'
  45. _title: 'Re-order book pages and change titles'
  46. requirements:
  47. _permission: 'administer book outlines'
  48. _entity_access: 'node.view'
  49. node: \d+
  50. entity.node.book_remove_form:
  51. path: '/node/{node}/outline/remove'
  52. defaults:
  53. _form: '\Drupal\book\Form\BookRemoveForm'
  54. _title: 'Remove from outline'
  55. options:
  56. _node_operation_route: TRUE
  57. requirements:
  58. _permission: 'administer book outlines'
  59. _entity_access: 'node.view'
  60. _access_book_removable: 'TRUE'
  61. node: \d+