filter.routing.yml

Same filename and directory in other branches
  1. 11.x core/modules/filter/filter.routing.yml
  2. 10 core/modules/filter/filter.routing.yml
  3. 9 core/modules/filter/filter.routing.yml
  4. 8.9.x core/modules/filter/filter.routing.yml
core/modules/filter/filter.routing.yml
4 string references to YAML keys in filter.routing.yml
FilterDisableForm::getCancelUrl in core/modules/filter/src/Form/FilterDisableForm.php
Returns the route to go to if the user cancels the action.
FilterEnableForm::getCancelUrl in core/modules/filter/src/Form/FilterEnableForm.php
Returns the route to go to if the user cancels the action.
FilterFormatAddForm::submitForm in core/modules/filter/src/FilterFormatAddForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
FilterHooks::help in core/modules/filter/src/Hook/FilterHooks.php
Implements hook_help().

File

core/modules/filter/filter.routing.yml

View source
  1. filter.tips_all:
  2. path: '/filter/tips'
  3. defaults:
  4. _controller: '\Drupal\filter\Controller\FilterController::filterTips'
  5. _title: 'Compose tips'
  6. requirements:
  7. _access: 'TRUE'
  8. deprecated:
  9. package: 'drupal/core'
  10. version: '11.4.0'
  11. message: 'The route "filter.tips_all" is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3567879'
  12. filter.tips:
  13. path: '/filter/tips/{filter_format}'
  14. defaults:
  15. _controller: '\Drupal\filter\Controller\FilterController::filterTips'
  16. _title: 'Compose tips'
  17. requirements:
  18. _entity_access: 'filter_format.use'
  19. deprecated:
  20. package: 'drupal/core'
  21. version: '11.4.0'
  22. message: 'The route "filter.tips" is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3567879'
  23. filter.admin_overview:
  24. path: '/admin/config/content/formats'
  25. defaults:
  26. _entity_list: 'filter_format'
  27. _title: 'Text formats and editors'
  28. requirements:
  29. _permission: 'administer filters'
  30. filter.format_add:
  31. path: '/admin/config/content/formats/add'
  32. defaults:
  33. _entity_form: filter_format.add
  34. _title: 'Add text format'
  35. requirements:
  36. _entity_create_access: 'filter_format'
  37. entity.filter_format.edit_form:
  38. path: '/admin/config/content/formats/manage/{filter_format}'
  39. defaults:
  40. _entity_form: filter_format.edit
  41. _title_callback: '\Drupal\filter\Controller\FilterController::getLabel'
  42. requirements:
  43. _entity_access: 'filter_format.update'
  44. entity.filter_format.disable:
  45. path: '/admin/config/content/formats/manage/{filter_format}/disable'
  46. defaults:
  47. _entity_form: 'filter_format.disable'
  48. _title: 'Disable text format'
  49. requirements:
  50. _entity_access: 'filter_format.disable'
  51. entity.filter_format.enable:
  52. path: '/admin/config/content/formats/manage/{filter_format}/enable'
  53. defaults:
  54. _entity_form: 'filter_format.enable'
  55. _title: 'Enable text format'
  56. requirements:
  57. _entity_access: 'filter_format.enable'

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