filter.routing.yml in Drupal 9
Same filename and directory in other branches
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.ymlView source
- filter.tips_all:
- path: '/filter/tips'
- defaults:
- _controller: '\Drupal\filter\Controller\FilterController::filterTips'
- _title: 'Compose tips'
- requirements:
- _access: 'TRUE'
-
- filter.tips:
- path: '/filter/tips/{filter_format}'
- defaults:
- _controller: '\Drupal\filter\Controller\FilterController::filterTips'
- _title: 'Compose tips'
- requirements:
- _entity_access: 'filter_format.use'
-
- filter.admin_overview:
- path: '/admin/config/content/formats'
- defaults:
- _entity_list: 'filter_format'
- _title: 'Text formats and editors'
- requirements:
- _permission: 'administer filters'
-
- filter.format_add:
- path: '/admin/config/content/formats/add'
- defaults:
- _entity_form: filter_format.add
- _title: 'Add text format'
- requirements:
- _entity_create_access: 'filter_format'
-
- entity.filter_format.edit_form:
- path: '/admin/config/content/formats/manage/{filter_format}'
- defaults:
- _entity_form: filter_format.edit
- _title_callback: '\Drupal\filter\Controller\FilterController::getLabel'
- requirements:
- _entity_access: 'filter_format.update'
-
- entity.filter_format.disable:
- path: '/admin/config/content/formats/manage/{filter_format}/disable'
- defaults:
- _entity_form: 'filter_format.disable'
- _title: 'Disable text format'
- requirements:
- _entity_access: 'filter_format.disable'