-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnews_ticker.routing.yml
63 lines (54 loc) · 1.66 KB
/
news_ticker.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
news_ticker.add_form:
path: '/admin/news-ticker/add'
defaults:
_form: '\Drupal\news_ticker\Form\AddListForm'
_title: 'Add news ticker list'
requirements:
_permission: 'access administration pages'
news_ticker.edit_form:
path: '/admin/news-ticker/list/{list_id}/edit'
defaults:
_form: '\Drupal\news_ticker\Form\EditListForm'
_title: 'Edit News Ticker List'
requirements:
_permission: 'administer news ticker'
news_ticker.delete_form:
path: '/admin/news-ticker/list/{list_id}/delete'
defaults:
_form: '\Drupal\news_ticker\Form\DeleteListForm'
_title: 'Delete News Ticker List'
requirements:
_permission: 'administer news ticker'
news_ticker.add_item_form:
path: '/admin/news-ticker/list/{list_id}/add-item'
defaults:
_form: '\Drupal\news_ticker\Form\AddItemForm'
_title: 'Add Item'
requirements:
_permission: 'administer news ticker'
news_ticker.list_detail:
path: '/admin/news-ticker/list/{list_id}'
defaults:
_controller: '\Drupal\news_ticker\Controller\ListDetailController::view'
_title: 'List Detail'
requirements:
_permission: 'access content'
list_id: \d+
news_ticker.edit_item:
path: '/admin/news-ticker/list/{list_id}/item/{item_id}/edit'
defaults:
_form: '\Drupal\news_ticker\Form\EditItemForm'
_title: 'Edit Item'
requirements:
_permission: 'administer news ticker'
list_id: \d+
item_id: \d+
news_ticker.delete_item:
path: '/admin/news-ticker/list/{list_id}/item/{item_id}/delete'
defaults:
_form: '\Drupal\news_ticker\Form\DeleteItemForm'
_title: 'Delete Item'
requirements:
_permission: 'administer news ticker'
list_id: \d+
item_id: \d+