-
Notifications
You must be signed in to change notification settings - Fork 0
/
sandbox.routing.yml
67 lines (63 loc) · 1.87 KB
/
sandbox.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
# Page callbacks.
sandbox.page:
path: '/sandbox'
defaults:
_content: '\Drupal\sandbox\Controller\sandboxController::page'
title: 'Sandbox'
requirements:
_permission: 'administer site configuration'
# Company entity.
sandbox_company.add:
path: '/sandbox/company/add'
defaults:
_content: '\Drupal\sandbox\Controller\CompanyController::add'
requirements:
_permission: 'create status updates'
sandbox_company.edit:
path: '/sandbox/company/{sandbox_company}/edit'
defaults:
_entity_form: 'sandbox_company.default'
requirements:
_permission: 'administer status updates'
sandbox_company.delete:
path: '/sandbox/company/{sandbox_company}/delete'
defaults:
_entity_form: 'sandbox_company.delete'
requirements:
_permission: 'administer status updates'
# Sand entity.
sandbox.sand_list:
path: '/admin/config/system/sand'
defaults:
_entity_list: 'sand'
_title: 'Sand Particles Configuration'
requirements:
_permission: 'administer site configuration'
sandbox.sand_add:
path: '/admin/config/system/sand/{taxonomy_vocabulary}/add'
defaults:
_content: '\Drupal\sandbox\Form\SandFormController::addForm'
_title: 'Add sand particle'
requirements:
_permission: 'administer site configuration'
#sandbox.sand_add_old:
# path: '/admin/config/system/sand/{taxonomy_vocabulary}/add'
# defaults:
# _entity_form: sand.add
# _title: 'Add sand particle'
# requirements:
# _permission: 'administer site configuration'
sandbox.sand_edit:
path: '/admin/config/system/sand/{sand}'
defaults:
_entity_form: sand.edit
_title: 'Edit sand particle'
requirements:
_permission: 'administer site configuration'
sandbox.sand_delete:
path: '/admin/config/system/sand/{sand}/delete'
defaults:
_entity_form: sand.delete
_title: 'Delete sand particle'
requirements:
_permission: 'administer site configuration'