-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathldbase_content.routing.yml
More file actions
50 lines (45 loc) · 1.39 KB
/
ldbase_content.routing.yml
File metadata and controls
50 lines (45 loc) · 1.39 KB
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
ldbase.home:
path: '/home'
defaults:
_controller: '\Drupal\ldbase_content\Controller\LDbasePageController::home'
_title: 'Home'
requirements:
_permission: 'access content'
# Routes Associated with Project Navigation Menu
ldbase.all_project_datasets:
path: '/projects/{project_uuid}/all-datasets-for-project/{node}'
defaults:
_title: 'All Datasets for Project'
requirements:
_permission: 'access content'
ldbase.all_project_documents:
path: '/projects/{project_uuid}/all-documents-for-project/{node}'
defaults:
_title: 'All Documents for Project'
requirements:
_permission: 'access content'
ldbase.all_data_exports:
path: '/data-exports'
defaults:
_controller: '\Drupal\ldbase_content\Controller\LDbasePageController::dataExports'
_title: 'All Data Exports'
requirements:
_role: 'fcrr_admin+administrator'
ldbase.browse_data:
path: '/browse-data'
defaults:
_controller: '\Drupal\ldbase_content\Controller\LDbasePageController::browseData'
_title: 'Browse our Data'
requirements:
_permission: 'access content'
ldbase.sort_project_hierarchy:
path: '/projects/{node}/sort-hierarchy'
defaults:
_form: '\Drupal\ldbase_content\Form\ProjectHierarchyOrderForm'
_title: 'Change Project Hierarchy'
requirements:
_group_update_node_access_check: 'TRUE'
options:
parameters:
node:
type: ldbase_uuid