-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathislandora_solr_metadata.routing.yml
47 lines (47 loc) · 2 KB
/
islandora_solr_metadata.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
islandora_solr_metadata.metadata_display:
path: 'admin/config/islandora/search/islandora_solr/metadata'
defaults:
_title: 'Metadata Display'
_controller: '\Drupal\islandora_solr_metadata\Controller\DefaultController::islandoraSolrMetadataAdminPageCallback'
requirements:
_permission: 'administer islandora_solr_metadata'
options:
_admin_route: TRUE
islandora_solr_metadata.config:
path: 'admin/config/islandora/search/islandora_solr_metadata/config/{configuration_name}'
defaults:
_form: '\Drupal\islandora_solr_metadata\Form\ConfigForm'
_title_callback: '\Drupal\islandora_solr_metadata\Controller\DefaultController::islandoraSolrMetadataDisplayConfigurationName'
requirements:
_custom_access: '\Drupal\islandora_solr_metadata\Controller\DefaultController::islandoraSolrMetadataAccess'
options:
_admin_route: TRUE
parameters:
configuration_name:
type: string
islandora_solr_metadata.config_field:
path: 'admin/config/islandora/search/islandora_solr_metadata/config/{config_name}/{escaped_field_name}'
defaults:
_form: '\Drupal\islandora_solr_metadata\Form\ConfigFieldForm'
_title_callback: '\Drupal\islandora_solr_metadata\Controller\DefaultController::islandoraSolrMetadataDisplayFieldConfigurationName'
requirements:
_custom_access: '\Drupal\islandora_solr_metadata\Controller\DefaultController::islandoraSolrMetadataFieldConfigurationAccess'
options:
_admin_route: TRUE
parameters:
config_name:
type: string
escaped_field_name:
type: string
islandora_solr_metadata.config_delete:
path: 'admin/config/islandora/search/islandora_solr_metadata/config/delete/{configuration_name}'
defaults:
_form: '\Drupal\islandora_solr_metadata\Form\DeleteConfigForm'
_title: 'Delete display configuration'
requirements:
_custom_access: '\Drupal\islandora_solr_metadata\Controller\DefaultController::islandoraSolrMetadataAccess'
options:
_admin_route: TRUE
parameters:
configuration_name:
type: string