You are here

facets.routing.yml in Facets 8

File

facets.routing.yml
View source
  1. entity.facets_facet.collection:
  2. path: '/admin/config/search/facets'
  3. defaults:
  4. _title: 'Facets'
  5. _entity_list: 'facets_facet'
  6. requirements:
  7. _entity_create_access: 'facets_facet'
  8. entity.facets_facet.add_form:
  9. path: '/admin/config/search/facets/add-facet'
  10. defaults:
  11. _entity_form: 'facets_facet.default'
  12. requirements:
  13. _entity_create_access: 'facets_facet'
  14. entity.facets_facet.edit_form:
  15. path: '/admin/config/search/facets/{facets_facet}/edit'
  16. defaults:
  17. _entity_form: 'facets_facet.edit'
  18. requirements:
  19. _entity_access: 'facets_facet.edit'
  20. entity.facets_facet.delete_form:
  21. path: '/admin/config/search/facets/{facets_facet}/delete'
  22. defaults:
  23. _entity_form: 'facets_facet.delete'
  24. requirements:
  25. _entity_access: 'facets_facet.delete'
  26. entity.facets_facet.settings_form:
  27. path: '/admin/config/search/facets/{facets_facet}/settings'
  28. defaults:
  29. _entity_form: 'facets_facet.settings'
  30. requirements:
  31. _entity_access: 'facets_facet.edit'
  32. entity.facets_facet.clone_form:
  33. path: '/admin/config/search/facets/{facets_facet}/clone'
  34. defaults:
  35. _entity_form: 'facets_facet.clone'
  36. requirements:
  37. _entity_access: 'facets_facet.edit'
  38. entity.facets_facet_source.edit_form:
  39. path: '/admin/config/search/facets/facet-sources/{facets_facet_source}/edit'
  40. defaults:
  41. _controller: '\Drupal\facets\Controller\FacetSourceController::facetSourceConfigForm'
  42. _title: 'Edit facet source configuration'
  43. requirements:
  44. _entity_create_access: 'facets_facet'
  45. facets.block.ajax:
  46. path: '/facets-block-ajax'
  47. defaults:
  48. _controller: '\Drupal\facets\Controller\FacetBlockAjaxController::ajaxFacetBlockView'
  49. requirements:
  50. _access: 'TRUE'