edlp_search.routing.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_searchResults:
  16. path: '/edlp_search/searchresults'
  17. defaults:
  18. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchResults'
  19. _title: 'Search Results'
  20. requirements:
  21. _permission: 'access content'
  22. edlp_search.edlp_search_controller_searchResults_ajax:
  23. path: '/edlp_search/searchresults/ajax'
  24. defaults:
  25. _controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchResultsJson'
  26. _title: 'Search Results'
  27. requirements:
  28. _permission: 'access content'
  29. edlp_search.edlp_search_form:
  30. path: '/edlp_search/form/search'
  31. defaults:
  32. _form: '\Drupal\edlp_search\Form\EdlpSearchForm'
  33. _title: 'EdlpSearchForm'
  34. requirements:
  35. _access: 'TRUE'