-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevel_tables.routing.yml
49 lines (44 loc) · 1.49 KB
/
devel_tables.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
# devel_tables module routes
devel_tables.settings:
path: '/admin/config/development/devel_tables'
defaults:
_form: '\Drupal\devel_tables\Form\SettingsForm'
_title: 'Devel tables'
requirements:
_permission: 'administer site configuration'
devel_tables.content:
path: '/devel_tables'
defaults:
_controller: '\Drupal\devel_tables\Controller\TableController::listTables'
_title_callback: '\Drupal\devel_tables\Controller\TableController::listTablesTitle'
options:
_admin_route: TRUE
requirements:
_permission: 'administer site configuration'
devel_tables.refresh:
path: '/devel_tables/refresh'
defaults:
_controller: '\Drupal\devel_tables\Controller\TableController::refresh'
_title: 'Refresh table list'
options:
_admin_route: TRUE
requirements:
_permission: 'administer site configuration'
devel_tables.table_records:
path: '/devel_tables/database/{connection}/table/{table}'
defaults:
_controller: '\Drupal\devel_tables\Controller\TableController::tableRecords'
_title_callback: '\Drupal\devel_tables\Controller\TableController::tableRecordsTitle'
options:
_admin_route: TRUE
requirements:
_permission: 'administer site configuration'
devel_tables.record_edit:
path: '/devel_tables/database/{connection}/table/{table}/record/edit/{record}'
defaults:
_form: '\Drupal\devel_tables\Form\RecordEdit'
_title: 'View record'
options:
_admin_route: TRUE
requirements:
_permission: 'administer site configuration'