filter.routing.yml

Same filename in other branches
  1. 9 core/modules/filter/filter.routing.yml
  2. 8.9.x core/modules/filter/filter.routing.yml
  3. 11.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.
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ā€¦
filter_help in core/modules/filter/filter.module
Implements hook_help().
TextFormat::processFormat in core/modules/filter/src/Element/TextFormat.php
Expands an element into a base element with text format selector attached.

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. filter.tips:
  9. path: '/filter/tips/{filter_format}'
  10. defaults:
  11. _controller: '\Drupal\filter\Controller\FilterController::filterTips'
  12. _title: 'Compose tips'
  13. requirements:
  14. _entity_access: 'filter_format.use'
  15. filter.admin_overview:
  16. path: '/admin/config/content/formats'
  17. defaults:
  18. _entity_list: 'filter_format'
  19. _title: 'Text formats and editors'
  20. requirements:
  21. _permission: 'administer filters'
  22. filter.format_add:
  23. path: '/admin/config/content/formats/add'
  24. defaults:
  25. _entity_form: filter_format.add
  26. _title: 'Add text format'
  27. requirements:
  28. _entity_create_access: 'filter_format'
  29. entity.filter_format.edit_form:
  30. path: '/admin/config/content/formats/manage/{filter_format}'
  31. defaults:
  32. _entity_form: filter_format.edit
  33. _title_callback: '\Drupal\filter\Controller\FilterController::getLabel'
  34. requirements:
  35. _entity_access: 'filter_format.update'
  36. entity.filter_format.disable:
  37. path: '/admin/config/content/formats/manage/{filter_format}/disable'
  38. defaults:
  39. _entity_form: 'filter_format.disable'
  40. _title: 'Disable text format'
  41. requirements:
  42. _entity_access: 'filter_format.disable'

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