forked from mkalkbrenner/search_api_solr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search_api_solr.routing.yml
101 lines (93 loc) · 3.58 KB
/
search_api_solr.routing.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
search_api_solr.solr_config_form:
path: '/admin/config/search/search-api/server/{search_api_server}/files'
options:
parameters:
search_api_server:
type: entity:search_api_server
with_config_overrides: TRUE
defaults:
_form: '\Drupal\search_api_solr\Form\SolrConfigForm'
requirements:
_permission: 'administer search_api'
_custom_access: '\Drupal\search_api_solr\Form\SolrConfigForm::access'
# SolrFieldType routing definition
entity.solr_field_type.collection:
path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type'
defaults:
_title: 'SolrFieldType Configuration'
_controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::listing'
options:
parameters:
search_api_server:
type: entity:search_api_server
with_config_overrides: TRUE
requirements:
_permission: 'administer search_api'
_search_api_solr_local_action_access_check: 'TRUE'
entity.solr_field_type.add_form:
path: '/admin/config/search/search-api/solr_field_type/add'
defaults:
_entity_form: 'solr_field_type.add'
_title: 'Add SolrFieldType'
requirements:
_permission: 'administer search_api'
entity.solr_field_type.edit_form:
path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}'
defaults:
_entity_form: 'solr_field_type.edit'
_title: 'Edit SolrFieldType'
requirements:
_permission: 'administer search_api'
entity.solr_field_type.delete_form:
path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}/delete'
defaults:
_entity_form: 'solr_field_type.delete'
_title: 'Delete SolrFieldType'
requirements:
_permission: 'administer search_api'
entity.solr_field_type.export_form:
path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}/export'
defaults:
_entity_form: 'solr_field_type.export'
_title: 'Export SolrFieldType'
requirements:
_permission: 'administer search_api'
entity.solr_field_type.schema_extra_types_collection:
path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type/schema-extra-types-collection'
defaults:
_title: 'schema_extra_types.xml'
_controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::getSchemaExtraTypesXml'
options:
parameters:
search_api_server:
type: entity:search_api_server
with_config_overrides: TRUE
requirements:
_permission: 'administer search_api'
_search_api_solr_local_action_multilingual_access_check: 'TRUE'
entity.solr_field_type.schema_extra_fields_collection:
path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type/schema-extra-fields-collection'
defaults:
_title: 'schema_extra_fields.xml'
_controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::getSchemaExtraFieldsXml'
options:
parameters:
search_api_server:
type: entity:search_api_server
with_config_overrides: TRUE
requirements:
_permission: 'administer search_api'
_search_api_solr_local_action_multilingual_access_check: 'TRUE'
entity.solr_field_type.config_zip_collection:
path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type/config-zip-collection'
defaults:
_title: 'config.zip'
_controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::getConfigZip'
options:
parameters:
search_api_server:
type: entity:search_api_server
with_config_overrides: TRUE
requirements:
_permission: 'administer search_api'
_search_api_solr_local_action_access_check: 'TRUE'