block.routing.yml 1.28 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
block.admin_demo:
  path: '/admin/structure/block/demo/{theme}'
  defaults:
    _content: '\Drupal\block\Controller\BlockController::demo'
  options:
    _access_mode: 'ALL'
  requirements:
    _access_theme: 'TRUE'
    _permission: 'administer blocks'

11
block.admin_block_delete:
12
  path: '/admin/structure/block/manage/{block}/delete'
13
  defaults:
14
    _entity_form: 'block.delete'
15
    _title: 'Delete block'
16
17
  requirements:
    _permission: 'administer blocks'
18

19
block.admin_edit:
20
  path: '/admin/structure/block/manage/{block}'
21
22
23
24
25
  defaults:
    _entity_form: 'block.default'
  requirements:
    _entity_access: 'block.update'

26
block.admin_display:
27
  path: '/admin/structure/block'
28
29
30
31
  defaults:
    _content: '\Drupal\block\Controller\BlockListController::listing'
  requirements:
    _permission: 'administer blocks'
32

33
block.admin_add:
34
  path: '/admin/structure/block/add/{plugin_id}/{theme}'
35
36
  defaults:
    _content: '\Drupal\block\Controller\BlockAddController::blockAddConfigureForm'
37
    theme: null
38
    _title: 'Configure block'
39
40
  requirements:
    _permission: 'administer blocks'
41
42

block.category_autocomplete:
43
  path: '/block-category/autocomplete'
44
45
46
47
  defaults:
    _controller: '\Drupal\block\Controller\CategoryAutocompleteController::autocomplete'
  requirements:
    _permission: 'administer blocks'