You are here

search_api_page.routing.yml in Search API Pages 8

File

search_api_page.routing.yml
View source
  1. entity.search_api_page.collection:
  2. path: '/admin/config/search/search-api-pages'
  3. defaults:
  4. _entity_list: 'search_api_page'
  5. _title: 'Search API pages'
  6. requirements:
  7. _permission: 'administer search_api_page'
  8. entity.search_api_page.add_form:
  9. path: '/admin/config/search/search-api-pages/add'
  10. defaults:
  11. _entity_form: 'search_api_page.add'
  12. _title: 'Add search page'
  13. requirements:
  14. _permission: 'administer search_api_page'
  15. entity.search_api_page.edit_form:
  16. path: '/admin/config/search/search-api-pages/{search_api_page}'
  17. defaults:
  18. _entity_form: 'search_api_page.edit'
  19. _title: 'Edit search page'
  20. requirements:
  21. _permission: 'administer search_api_page'
  22. entity.search_api_page.delete_form:
  23. path: '/admin/config/search/search-api-page/{search_api_page}/delete'
  24. defaults:
  25. _entity_form: 'search_api_page.delete'
  26. _title: 'Delete search page'
  27. requirements:
  28. _permission: 'administer search_api_page'
  29. route_callbacks:
  30. - '\Drupal\search_api_page\Routing\SearchApiPageRoutes::routes'