forum.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/forum/forum.routing.yml
  2. 10 core/modules/forum/forum.routing.yml
  3. 11.x 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. forum.add_container:
  30. path: '/admin/structure/forum/add/container'
  31. defaults:
  32. _controller: '\Drupal\forum\Controller\ForumController::addContainer'
  33. _title: 'Add container'
  34. requirements:
  35. _permission: 'administer forums'
  36. forum.add_forum:
  37. path: '/admin/structure/forum/add/forum'
  38. defaults:
  39. _controller: '\Drupal\forum\Controller\ForumController::addForum'
  40. _title: 'Add forum'
  41. requirements:
  42. _permission: 'administer forums'
  43. entity.taxonomy_term.forum_edit_container_form:
  44. path: '/admin/structure/forum/edit/container/{taxonomy_term}'
  45. defaults:
  46. _entity_form: 'taxonomy_term.container'
  47. _title: 'Edit container'
  48. requirements:
  49. _permission: 'administer forums'
  50. entity.taxonomy_term.forum_edit_form:
  51. path: '/admin/structure/forum/edit/forum/{taxonomy_term}'
  52. defaults:
  53. _entity_form: 'taxonomy_term.forum'
  54. _title: 'Edit forum'
  55. requirements:
  56. _permission: 'administer forums'
  57. forum.overview:
  58. path: '/admin/structure/forum'
  59. defaults:
  60. _form: '\Drupal\forum\Form\Overview'
  61. _title: 'Forums'
  62. requirements:
  63. _permission: 'administer forums'

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