edlp_search.routing.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. edlp_search.edlp_search_controller_searchForm:
  2. path: '/edlp_search/searchform'
  3. defaults:
  4. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchForm'
  5. _title: 'Search Form'
  6. requirements:
  7. _permission: 'access content'
  8. edlp_search.edlp_search_controller_searchForm_ajax:
  9. path: '/edlp_search/searchform/ajax'
  10. defaults:
  11. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchFormJson'
  12. _title: 'Search Form'
  13. requirements:
  14. _permission: 'access content'
  15. edlp_search.edlp_search_controller_autocomplete:
  16. path: '/edlp_search/searchform/autocomplete'
  17. defaults:
  18. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::autocomplete'
  19. _title: 'Autocomplete'
  20. requirements:
  21. _permission: 'access content'
  22. edlp_search.edlp_search_controller_search_results:
  23. path: '/edlp_search/searchresults'
  24. defaults:
  25. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchResults'
  26. _title: 'Search Results'
  27. requirements:
  28. _permission: 'access content'
  29. edlp_search.edlp_search_controller_search_results_ajax:
  30. path: '/edlp_search/searchresults/ajax'
  31. defaults:
  32. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchResultsJson'
  33. _title: 'Search Results'
  34. requirements:
  35. _permission: 'access content'
  36. edlp_search.edlp_search_form:
  37. path: '/edlp_search/form/search'
  38. defaults:
  39. _form: '\Drupal\edlp_search\Form\EdlpSearchForm'
  40. _title: 'EdlpSearchForm'
  41. requirements:
  42. _access: 'TRUE'