dblog.routing.yml 1.46 KB
Newer Older
1
dblog.overview:
2
  path: '/admin/reports/dblog'
3
  defaults:
4
    _controller: '\Drupal\dblog\Controller\DbLogController::overview'
5
    _title: 'Recent log messages'
6 7
  requirements:
    _permission: 'access site reports'
8

9 10 11 12 13 14 15 16
dblog.confirm:
  path: '/admin/reports/dblog/confirm'
  defaults:
    _form: '\Drupal\dblog\Form\DblogClearLogConfirmForm'
    _title: 'Confirm delete recent log messages'
  requirements:
    _permission: 'access site reports'

17
dblog.event:
18
  path: '/admin/reports/dblog/event/{event_id}'
19
  defaults:
20
    _controller: '\Drupal\dblog\Controller\DbLogController::eventDetails'
21
    _title: 'Details'
22 23
  requirements:
    _permission: 'access site reports'
24 25 26 27 28

dblog.page_not_found:
  path: '/admin/reports/page-not-found'
  defaults:
    _title: "Top 'page not found' errors"
29
    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessages'
30
    type: 'page not found'
31 32 33 34 35 36 37
  requirements:
    _permission: 'access site reports'

dblog.access_denied:
  path: '/admin/reports/access-denied'
  defaults:
    _title: "Top 'access denied' errors"
38
    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessages'
39
    type: 'access denied'
40 41
  requirements:
    _permission: 'access site reports'
42 43 44 45

dblog.search:
  path: '/admin/reports/search'
  defaults:
46
    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessages'
47
    _title: 'Top search phrases'
48
    type: 'search'
49 50 51
  requirements:
    _module_dependencies: 'search'
    _permission: 'access site reports'