materio_sapi.routing.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. materio_sapi.search_autocomplete:
  2. path: '/materio_sapi/form/autocomplete'
  3. defaults:
  4. _controller: '\Drupal\materio_sapi\Controller\FormAutocomplete::Autocomplete'
  5. _format: json
  6. requirements:
  7. _permission: 'access materio search'
  8. materio_sapi.search_form:
  9. path: '/materio_sapi/search_form'
  10. defaults:
  11. _controller: '\Drupal\materio_sapi\Controller\AjaxSearchForm::getForm'
  12. _format: json
  13. requirements:
  14. _permission: 'access materio search'
  15. # materio_sapi.materio_sapi_search_form:
  16. # path: '/materio_sapi/form/materio_sapi_search'
  17. # defaults:
  18. # _form: '\Drupal\materio_sapi\Form\MaterioSapiSearchForm'
  19. # _title: 'MaterioSapiSearchForm'
  20. # requirements:
  21. # _access: 'TRUE'
  22. materio_sapi.getresults:
  23. path: '/materio_sapi/getresults'
  24. defaults:
  25. _controller: '\Drupal\materio_sapi\Controller\Base::getResults'
  26. _format: json
  27. requirements:
  28. _permission: 'access materio search'
  29. materio_sapi.base:
  30. path: '/base'
  31. defaults:
  32. _controller: '\Drupal\materio_sapi\Controller\Base::pageHandler'
  33. requirements:
  34. _permission: 'access materio search'