filter.routing.yml 1.31 KB
Newer Older
1
filter.tips_all:
2
  path: '/filter/tips'
3
  defaults:
4
    _controller: '\Drupal\filter\Controller\FilterController::filterTips'
5
    _title: 'Compose tips'
6 7 8
  requirements:
    _access: 'TRUE'

9
filter.tips:
10
  path: '/filter/tips/{filter_format}'
11
  defaults:
12
    _controller: '\Drupal\filter\Controller\FilterController::filterTips'
13
    _title: 'Compose tips'
14
  requirements:
15
    _entity_access: 'filter_format.use'
16

17
filter.admin_overview:
18
  path: '/admin/config/content/formats'
19
  defaults:
20
    _entity_list: 'filter_format'
21
    _title: 'Text formats and editors'
22 23 24
  requirements:
    _permission: 'administer filters'

25
filter.format_add:
26
  path: '/admin/config/content/formats/add'
27 28
  defaults:
    _entity_form: filter_format.add
29
    _title: 'Add text format'
30
  requirements:
31
    _entity_create_access: 'filter_format'
32

33
entity.filter_format.edit_form:
34
  path: '/admin/config/content/formats/manage/{filter_format}'
35 36
  defaults:
    _entity_form: filter_format.edit
37
    _title_callback: '\Drupal\filter\Controller\FilterController::getLabel'
38
  requirements:
39
    _entity_access: 'filter_format.update'
40

41
entity.filter_format.disable:
42
  path: '/admin/config/content/formats/manage/{filter_format}/disable'
43 44
  defaults:
    _entity_form: 'filter_format.disable'
45
    _title: 'Disable text format'
46
  requirements:
47
    _entity_access: 'filter_format.disable'