forked from chapter-three/dfp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dfp.routing.yml
53 lines (48 loc) · 1.4 KB
/
dfp.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
dfp.admin_settings:
path: 'admin/structure/dfp/settings'
defaults:
_form: '\Drupal\dfp\Form\AdminSettings'
_title: 'Global DFP Settings'
requirements:
_permission: 'administer DFP'
dfp.test_page:
path: 'admin/structure/dfp/test_page'
requirements:
_permission: 'administer DFP'
# $items['admin/structure/dfp_ads/test_page'] = array(
# 'title' => 'DFP Test Page',
# 'type' => MENU_LOCAL_TASK,
# 'description' => "View all your DFP tags on a single page",
# 'page callback' => 'dfp_adtest_page',
# 'access arguments' => array('administer DFP'),
# 'file' => 'dfp.adtest.inc',
# 'weight' => 10,
# );
entity.dfp_tag.add_form:
path: '/admin/structure/dfp/tags/add'
defaults:
_entity_form: 'dfp_tag.add'
_title: 'Add DFP tag'
requirements:
_permission: 'administer DFP'
entity.dfp_tag.edit_form:
path: '/admin/structure/dfp/tags/manage/{dfp_tag}'
defaults:
_entity_form: 'dfp_tag.edit'
requirements:
_permission: 'administer DFP'
entity.dfp_tag.delete_form:
path: '/admin/structure/dfp/tags/manage/{dfp_tag}/delete'
defaults:
_entity_form: 'dfp_tag.delete'
_title: 'Delete'
requirements:
_permission: 'administer DFP'
# _entity_access: 'dfp_tag.delete'
entity.dfp_tag.collection:
path: '/admin/structure/dfp/tags'
defaults:
_entity_list: 'dfp_tag'
_title: 'DFP tags'
requirements:
_permission: 'administer DFP'