You are here

search.routing.yml in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/search/search.routing.yml
core/modules/search/search.routing.yml

File

core/modules/search/search.routing.yml
View source
  1. entity.search_page.collection:
  2. path: '/admin/config/search/pages'
  3. defaults:
  4. _entity_list: 'search_page'
  5. _title: 'Search pages'
  6. requirements:
  7. _permission: 'administer search'
  8. search.reindex_confirm:
  9. path: '/admin/config/search/pages/reindex'
  10. defaults:
  11. _form: '\Drupal\search\Form\ReindexConfirm'
  12. _title: 'Clear index'
  13. requirements:
  14. _permission: 'administer search'
  15. search.add_type:
  16. path: '/admin/config/search/pages/add/{search_plugin_id}'
  17. defaults:
  18. _entity_form: 'search_page.add'
  19. _title: 'Add new search page'
  20. requirements:
  21. _entity_create_access: 'search_page'
  22. entity.search_page.edit_form:
  23. path: '/admin/config/search/pages/manage/{search_page}'
  24. defaults:
  25. _entity_form: 'search_page.edit'
  26. _title_callback: '\Drupal\search\Controller\SearchController::editTitle'
  27. requirements:
  28. _entity_access: 'search_page.update'
  29. entity.search_page.enable:
  30. path: '/admin/config/search/pages/manage/{search_page}/enable'
  31. defaults:
  32. _controller: '\Drupal\search\Controller\SearchController::performOperation'
  33. op: 'enable'
  34. requirements:
  35. _entity_access: 'search_page.update'
  36. entity.search_page.disable:
  37. path: '/admin/config/search/pages/manage/{search_page}/disable'
  38. defaults:
  39. _controller: '\Drupal\search\Controller\SearchController::performOperation'
  40. op: 'disable'
  41. requirements:
  42. _entity_access: 'search_page.disable'
  43. entity.search_page.set_default:
  44. path: '/admin/config/search/pages/manage/{search_page}/set-default'
  45. defaults:
  46. _controller: '\Drupal\search\Controller\SearchController::setAsDefault'
  47. requirements:
  48. _entity_access: 'search_page.update'
  49. entity.search_page.delete_form:
  50. path: '/admin/config/search/pages/manage/{search_page}/delete'
  51. defaults:
  52. _entity_form: 'search_page.delete'
  53. _title: 'Delete'
  54. requirements:
  55. _entity_access: 'search_page.delete'
  56. route_callbacks:
  57. - '\Drupal\search\Routing\SearchPageRoutes::routes'