This repository has been archived by the owner on May 31, 2022. It is now read-only.
forked from ec-europa/sparql_entity_storage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sparql_entity_storage.routing.yml
executable file
·57 lines (51 loc) · 1.81 KB
/
sparql_entity_storage.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
sparql_entity_storage.settings:
path: '/admin/config/sparql'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'SPARQL Entity Storage'
requirements:
_permission: 'administer site configuration'
entity.sparql_graph.collection:
path: '/admin/config/sparql/graph'
defaults:
_entity_list: 'sparql_graph'
_title: 'SPARQL Graphs'
requirements:
_permission: 'administer site configuration'
sparql_graph.add:
path: '/admin/config/sparql/graph/add'
defaults:
_entity_form: 'sparql_graph.add'
_title: 'Add graph'
requirements:
_entity_create_access: sparql_graph
entity.sparql_graph.edit_form:
path: '/admin/config/sparql/graph/manage/{sparql_graph}'
defaults:
_entity_form: 'sparql_graph.edit'
_title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
requirements:
_entity_access: sparql_graph.update
entity.sparql_graph.delete_form:
path: '/admin/config/sparql/graph/manage/{sparql_graph}/delete'
defaults:
_entity_form: 'sparql_graph.delete'
_title: 'Delete'
requirements:
_entity_access: sparql_graph.delete
entity.sparql_graph.enable:
path: '/admin/config/sparql/graph/manage/{sparql_graph}/enable'
defaults:
_controller: \Drupal\sparql_entity_storage\Controller\SparqlGraphToggle::toggle
_title: Enable
toggle_operation: enable
requirements:
_custom_access: \Drupal\sparql_entity_storage\Controller\SparqlGraphToggle::access
entity.sparql_graph.disable:
path: '/admin/config/sparql/graph/manage/{sparql_graph}/disable'
defaults:
_controller: \Drupal\sparql_entity_storage\Controller\SparqlGraphToggle::toggle
_title: Disable
toggle_operation: disable
requirements:
_custom_access: \Drupal\sparql_entity_storage\Controller\SparqlGraphToggle::access