forum.routing.yml

Same filename in other branches
  1. 9 core/modules/forum/forum.routing.yml
  2. 8.9.x core/modules/forum/forum.routing.yml
  3. 10 core/modules/forum/forum.routing.yml
core/modules/forum/forum.routing.yml
24 string references to YAML keys in forum.routing.yml
DeleteForm::getCancelUrl in core/modules/forum/src/Form/DeleteForm.php
Returns the route to go to if the user cancels the action.
ForumBlockBase::build in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
Builds and returns the renderable array for this block plugin.
ForumBreadcrumbBuilderBase::build in core/modules/forum/src/Breadcrumb/ForumBreadcrumbBuilderBase.php
Builds the breadcrumb.
ForumBreadcrumbBuilderBase::__construct in core/modules/forum/src/Breadcrumb/ForumBreadcrumbBuilderBase.php
Constructs a forum breadcrumb builder object.
ForumBreadcrumbBuilderBaseTest::testBuild in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
Tests ForumBreadcrumbBuilderBase::build().

... See full list

File

core/modules/forum/forum.routing.yml

View source
  1. entity.taxonomy_term.forum_delete_form:
  2. path: '/admin/structure/forum/delete/forum/{taxonomy_term}'
  3. defaults:
  4. _form: '\Drupal\forum\Form\DeleteForm'
  5. _title: 'Delete forum'
  6. requirements:
  7. _permission: 'administer forums'
  8. forum.settings:
  9. path: '/admin/structure/forum/settings'
  10. defaults:
  11. _form: '\Drupal\forum\ForumSettingsForm'
  12. _title: 'Forums'
  13. requirements:
  14. _permission: 'administer forums'
  15. forum.index:
  16. path: '/forum'
  17. defaults:
  18. _controller: '\Drupal\forum\Controller\ForumController::forumIndex'
  19. _title: 'Forums'
  20. requirements:
  21. _permission: 'access content'
  22. forum.page:
  23. path: '/forum/{taxonomy_term}'
  24. defaults:
  25. _controller: '\Drupal\forum\Controller\ForumController::forumPage'
  26. _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
  27. requirements:
  28. _permission: 'access content'
  29. _entity_access: 'taxonomy_term.view'
  30. forum.add_container:
  31. path: '/admin/structure/forum/add/container'
  32. defaults:
  33. _controller: '\Drupal\forum\Controller\ForumController::addContainer'
  34. _title: 'Add container'
  35. requirements:
  36. _permission: 'administer forums'
  37. forum.add_forum:
  38. path: '/admin/structure/forum/add/forum'
  39. defaults:
  40. _controller: '\Drupal\forum\Controller\ForumController::addForum'
  41. _title: 'Add forum'
  42. requirements:
  43. _permission: 'administer forums'
  44. entity.taxonomy_term.forum_edit_container_form:
  45. path: '/admin/structure/forum/edit/container/{taxonomy_term}'
  46. defaults:
  47. _entity_form: 'taxonomy_term.container'
  48. _title: 'Edit container'
  49. requirements:
  50. _permission: 'administer forums'
  51. entity.taxonomy_term.forum_edit_form:
  52. path: '/admin/structure/forum/edit/forum/{taxonomy_term}'
  53. defaults:
  54. _entity_form: 'taxonomy_term.forum'
  55. _title: 'Edit forum'
  56. requirements:
  57. _permission: 'administer forums'
  58. forum.overview:
  59. path: '/admin/structure/forum'
  60. defaults:
  61. _form: '\Drupal\forum\Form\Overview'
  62. _title: 'Forums'
  63. requirements:
  64. _permission: 'administer forums'

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