-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo_app.routing.yml
112 lines (112 loc) · 3.5 KB
/
todo_app.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
system.todo_app:
path: '/admin/todo_app'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Todo App'
requirements:
_permission: 'access_own_tasks'
system.todo_app_settings:
path: '/admin/todo_app/settings'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Todo App Settings'
requirements:
_permission: 'access administration pages'
#todo_app.list:
# path: '/admin/todo-app/my-tasks'
# defaults:
# _title: 'My Tasks'
# _controller: '\Drupal\todo_app\Controller\TodoAppController::buildList'
# requirements:
# _permission: 'access_own_tasks'
todo_app.manage_tasks:
path: '/admin/todo-app/manage-tasks'
defaults:
_title: 'Manage Tasks'
_form: 'Drupal\todo_app\Form\ManageTasksForm'
requirements:
_permission: 'access_own_tasks'
todo_app.add:
path: '/admin/todo-app/add-task'
defaults:
_title: 'Add entry'
_form: '\Drupal\todo_app\Form\AddTasksForm'
requirements:
_permission: 'access_own_tasks'
todo_app.update:
path: '/admin/todo-app/update-task'
defaults:
_title: 'Update entry'
_form: '\Drupal\todo_app\Form\TasksUpdateForm'
requirements:
_permission: 'access_own_tasks'
todo_app.delete_confirm:
path: '/admin/todo-app/delete-task'
defaults:
_title: 'Delete task'
_form: 'Drupal\todo_app\Form\DeleteTasksConfirmForm'
requirements:
_permission: 'access_own_tasks'
todo_app.manage_priorities:
path: '/admin/todo-app/manage-priorities'
defaults:
_title: 'Manage priorities'
_form: 'Drupal\todo_app\Form\ManagePrioritiesForm'
requirements:
_permission: 'access administration pages'
todo_app.manage_statuses:
path: '/admin/todo-app/manage-statuses'
defaults:
_title: 'Manage statuses'
_form: 'Drupal\todo_app\Form\ManageStatusesForm'
requirements:
_permission: 'access administration pages'
todo_app.manage_categories:
path: '/admin/todo-app/manage-categories'
defaults:
_title: 'Manage categories'
_form: 'Drupal\todo_app\Form\ManageCategoriesForm'
requirements:
_permission: 'access administration pages'
todo_app.delete_priorities_confirm:
path: '/admin/todo-app/delete-priority'
defaults:
_title: 'Delete priority'
_form: 'Drupal\todo_app\Form\DeletePrioritiesConfirmForm'
requirements:
_permission: 'access administration pages'
todo_app.delete_statuses_confirm:
path: '/admin/todo-app/delete-status'
defaults:
_title: 'Delete status'
_form: 'Drupal\todo_app\Form\DeleteStatusesConfirmForm'
requirements:
_permission: 'access administration pages'
todo_app.delete_categories_confirm:
path: '/admin/todo-app/delete-category'
defaults:
_title: 'Delete category'
_form: 'Drupal\todo_app\Form\DeleteCategoriesConfirmForm'
requirements:
_permission: 'access administration pages'
todo_app.update_priorities:
path: '/admin/todo-app/update-priority'
defaults:
_title: 'Update entry'
_form: 'Drupal\todo_app\Form\PrioritiesUpdateForm'
requirements:
_permission: 'access administration pages'
todo_app.update_statuses:
path: '/admin/todo-app/update-status'
defaults:
_title: 'Update entry'
_form: 'Drupal\todo_app\Form\StatusesUpdateForm'
requirements:
_permission: 'access administration pages'
todo_app.update_categories:
path: '/admin/todo-app/update-category'
defaults:
_title: 'Update entry'
_form: 'Drupal\todo_app\Form\CategoriesUpdateForm'
requirements:
_permission: 'access administration pages'