1. 8.5.x core/modules/block/block.routing.yml
  2. 8.0.x core/modules/block/block.routing.yml
  3. 8.1.x core/modules/block/block.routing.yml
  4. 8.2.x core/modules/block/block.routing.yml
  5. 8.3.x core/modules/block/block.routing.yml
  6. 8.4.x core/modules/block/block.routing.yml
  7. 8.6.x core/modules/block/block.routing.yml
core/modules/block/block.routing.yml
25 string references to YAML keys in block.routing.yml
AdminDemoNegotiator::applies in core/modules/block/src/Theme/AdminDemoNegotiator.php
Whether this theme negotiator should be used to set the theme.
BlockContentForm::save in core/modules/block_content/src/BlockContentForm.php
Form submission handler for the 'save' action.
BlockContentLocalTasksTest::testBlockContentListLocalTasks in core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
Checks block_content listing local tasks.
BlockContentTypeTest::testsBlockContentAddTypes in core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
Tests that redirects work as expected when multiple block types exist.
BlockController::performOperation in core/modules/block/src/Controller/BlockController.php
Calls a method on a block and reloads the listing page.

... See full list

File

core/modules/block/block.routing.yml
View source
  1. block.admin_demo:
  2. path: '/admin/structure/block/demo/{theme}'
  3. defaults:
  4. _controller: '\Drupal\block\Controller\BlockController::demo'
  5. _title_callback: 'theme_handler:getName'
  6. requirements:
  7. _access_theme: 'TRUE'
  8. _permission: 'administer blocks'
  9. options:
  10. _admin_route: FALSE
  11. entity.block.delete_form:
  12. path: '/admin/structure/block/manage/{block}/delete'
  13. defaults:
  14. _entity_form: 'block.delete'
  15. _title: 'Delete block'
  16. requirements:
  17. _permission: 'administer blocks'
  18. entity.block.edit_form:
  19. path: '/admin/structure/block/manage/{block}'
  20. defaults:
  21. _entity_form: 'block.default'
  22. _title: 'Configure block'
  23. requirements:
  24. _entity_access: 'block.update'
  25. entity.block.enable:
  26. path: '/admin/structure/block/manage/{block}/enable'
  27. defaults:
  28. _controller: '\Drupal\block\Controller\BlockController::performOperation'
  29. op: enable
  30. requirements:
  31. _entity_access: 'block.enable'
  32. _csrf_token: 'TRUE'
  33. entity.block.disable:
  34. path: '/admin/structure/block/manage/{block}/disable'
  35. defaults:
  36. _controller: '\Drupal\block\Controller\BlockController::performOperation'
  37. op: disable
  38. requirements:
  39. _entity_access: 'block.disable'
  40. _csrf_token: 'TRUE'
  41. block.admin_display:
  42. path: '/admin/structure/block'
  43. defaults:
  44. _controller: '\Drupal\block\Controller\BlockListController::listing'
  45. _title: 'Block layout'
  46. requirements:
  47. _permission: 'administer blocks'
  48. block.admin_display_theme:
  49. path: '/admin/structure/block/list/{theme}'
  50. defaults:
  51. _controller: '\Drupal\block\Controller\BlockListController::listing'
  52. _title: 'Block layout'
  53. requirements:
  54. _access_theme: 'TRUE'
  55. _permission: 'administer blocks'
  56. block.admin_library:
  57. path: '/admin/structure/block/library/{theme}'
  58. defaults:
  59. _controller: '\Drupal\block\Controller\BlockLibraryController::listBlocks'
  60. _title: 'Place block'
  61. requirements:
  62. _access_theme: 'TRUE'
  63. _permission: 'administer blocks'
  64. block.admin_add:
  65. path: '/admin/structure/block/add/{plugin_id}/{theme}'
  66. defaults:
  67. _controller: '\Drupal\block\Controller\BlockAddController::blockAddConfigureForm'
  68. theme: null
  69. _title: 'Configure block'
  70. requirements:
  71. _permission: 'administer blocks'
  72. block.category_autocomplete:
  73. path: '/block-category/autocomplete'
  74. defaults:
  75. _controller: '\Drupal\block\Controller\CategoryAutocompleteController::autocomplete'
  76. requirements:
  77. _permission: 'administer blocks'