facets.routing.yml 1.66 KB
Newer Older
1
entity.facets_facet.collection:
2
  path: '/admin/config/search/facets'
3
  defaults:
4
    _title: 'Facets'
5 6 7 8 9
    _entity_list: 'facets_facet'
  requirements:
    _entity_create_access: 'facets_facet'

entity.facets_facet.add_form:
10
  path: '/admin/config/search/facets/add-facet'
11 12 13 14 15 16
  defaults:
    _entity_form: 'facets_facet.default'
  requirements:
    _entity_create_access: 'facets_facet'

entity.facets_facet.edit_form:
17
  path: '/admin/config/search/facets/{facets_facet}/edit'
18 19 20 21 22 23
  defaults:
    _entity_form: 'facets_facet.edit'
  requirements:
    _entity_access: 'facets_facet.edit'

entity.facets_facet.delete_form:
24
  path: '/admin/config/search/facets/{facets_facet}/delete'
25 26 27 28 29
  defaults:
    _entity_form: 'facets_facet.delete'
  requirements:
    _entity_access: 'facets_facet.delete'

30 31
entity.facets_facet.settings_form:
  path: '/admin/config/search/facets/{facets_facet}/settings'
32
  defaults:
33
    _entity_form: 'facets_facet.settings'
34 35
  requirements:
    _entity_access: 'facets_facet.edit'
36

37 38 39 40 41 42 43
entity.facets_facet.clone_form:
  path: '/admin/config/search/facets/{facets_facet}/clone'
  defaults:
    _entity_form: 'facets_facet.clone'
  requirements:
    _entity_access: 'facets_facet.edit'

44
entity.facets_facet_source.edit_form:
45
  path: '/admin/config/search/facets/facet-sources/{facets_facet_source}/edit'
46 47 48 49 50
  defaults:
    _controller: '\Drupal\facets\Controller\FacetSourceController::facetSourceConfigForm'
    _title: 'Edit facet source configuration'
  requirements:
    _entity_create_access: 'facets_facet'
51 52 53 54 55 56 57

facets.block.ajax:
  path: '/facets-block-ajax'
  defaults:
    _controller: '\Drupal\facets\Controller\FacetBlockAjaxController::ajaxFacetBlockView'
  requirements:
    _access: 'TRUE'