summaryrefslogtreecommitdiffstats
path: root/facets.routing.yml
blob: e097794021236d5b79dcf4546e461a313f22356c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
facets.overview:
  path: '/admin/config/search/facets'
  defaults:
    _title: 'Facets'
    _entity_list: 'facets_facet'
  requirements:
    _entity_create_access: 'facets_facet'

entity.facets_facet.add_form:
  path: '/admin/config/search/facets/add-facet'
  defaults:
    _entity_form: 'facets_facet.default'
  requirements:
    _entity_create_access: 'facets_facet'

entity.facets_facet.canonical:
  path: '/admin/config/search/facets/{facets_facet}'
  defaults:
    _controller: '\Drupal\facets\Controller\FacetController::page'
    _title_callback: '\Drupal\facets\Controller\FacetController::pageTitle'
  requirements:
    _entity_access: 'facets_facet.view'

entity.facets_facet.edit_form:
  path: '/admin/config/search/facets/{facets_facet}/edit'
  defaults:
    _entity_form: 'facets_facet.edit'
  requirements:
    _entity_access: 'facets_facet.edit'

entity.facets_facet.delete_form:
  path: '/admin/config/search/facets/{facets_facet}/delete'
  defaults:
    _entity_form: 'facets_facet.delete'
  requirements:
    _entity_access: 'facets_facet.delete'

entity.facets_facet.display_form:
  path: '/admin/config/search/facets/{facets_facet}/display'
  defaults:
    _entity_form: 'facets_facet.display'
  requirements:
    _entity_access: 'facets_facet.edit'

entity.facets_facet_source.edit_form:
  path: '/admin/config/search/facets/facet-sources/{source_id}/edit'
  defaults:
    _controller: '\Drupal\facets\Controller\FacetSourceController::facetSourceConfigForm'
    _title: 'Edit facet source configuration'
  requirements:
    _entity_create_access: 'facets_facet'