search.routing.yml
Same filename in other branches
5 string references to YAML keys in search.routing.yml
- ReindexConfirm::getCancelUrl in core/
modules/ search/ src/ Form/ ReindexConfirm.php - SearchController::setAsDefault in core/
modules/ search/ src/ Controller/ SearchController.php - Sets the search page as the default.
- SearchPageListBuilder::getDefaultOperations in core/
modules/ search/ src/ SearchPageListBuilder.php - SearchPageListBuilder::searchAdminReindexSubmit in core/
modules/ search/ src/ SearchPageListBuilder.php - Form submission handler for reindex button on search admin settings form.
- SearchPageListBuilder::submitAddSearchPage in core/
modules/ search/ src/ SearchPageListBuilder.php - Form submission handler for adding a new search page.
File
-
core/
modules/ search/ search.routing.yml
View source
- entity.search_page.collection:
- path: '/admin/config/search/pages'
- defaults:
- _entity_list: 'search_page'
- _title: 'Search pages'
- requirements:
- _permission: 'administer search'
-
- search.reindex_confirm:
- path: '/admin/config/search/pages/reindex'
- defaults:
- _form: '\Drupal\search\Form\ReindexConfirm'
- _title: 'Clear index'
- requirements:
- _permission: 'administer search'
-
- search.add_type:
- path: '/admin/config/search/pages/add/{search_plugin_id}'
- defaults:
- _entity_form: 'search_page.add'
- _title: 'Add new search page'
- requirements:
- _entity_create_access: 'search_page'
-
- entity.search_page.edit_form:
- path: '/admin/config/search/pages/manage/{search_page}'
- defaults:
- _entity_form: 'search_page.edit'
- _title_callback: '\Drupal\search\Controller\SearchController::editTitle'
- requirements:
- _entity_access: 'search_page.update'
-
- entity.search_page.enable:
- path: '/admin/config/search/pages/manage/{search_page}/enable'
- defaults:
- _controller: '\Drupal\search\Controller\SearchController::performOperation'
- op: 'enable'
- requirements:
- _entity_access: 'search_page.update'
- _csrf_token: 'TRUE'
-
- entity.search_page.disable:
- path: '/admin/config/search/pages/manage/{search_page}/disable'
- defaults:
- _controller: '\Drupal\search\Controller\SearchController::performOperation'
- op: 'disable'
- requirements:
- _entity_access: 'search_page.disable'
- _csrf_token: 'TRUE'
-
- entity.search_page.set_default:
- path: '/admin/config/search/pages/manage/{search_page}/set-default'
- defaults:
- _controller: '\Drupal\search\Controller\SearchController::setAsDefault'
- requirements:
- _entity_access: 'search_page.update'
- _csrf_token: 'TRUE'
-
- entity.search_page.delete_form:
- path: '/admin/config/search/pages/manage/{search_page}/delete'
- defaults:
- _entity_form: 'search_page.delete'
- _title: 'Delete'
- requirements:
- _entity_access: 'search_page.delete'
-
- route_callbacks:
- - '\Drupal\search\Routing\SearchPageRoutes::routes'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.