Same filename and directory in other branches
- 8.9.x core/modules/block/block.routing.yml
- 9 core/modules/block/block.routing.yml
core/modules/block/block.routing.yml
35 string references to YAML keys in block.routing.yml
- AdminDemoNegotiator::applies in core/modules/block/src/Theme/AdminDemoNegotiator.php
- BlockContentForm::configureBlock in core/modules/block_content/src/BlockContentForm.php
- Form submission handler for the 'configureBlock' action.
- BlockContentForm::save in core/modules/block_content/src/BlockContentForm.php
- Form submission handler for the 'save' action.
- 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
- block.admin_demo:
- path: '/admin/structure/block/demo/{theme}'
- defaults:
- _controller: '\Drupal\block\Controller\BlockController::demo'
- _title_callback: 'theme_handler:getName'
- requirements:
- _access_theme: 'TRUE'
- _permission: 'administer blocks'
- options:
- _admin_route: FALSE
-
- entity.block.delete_form:
- path: '/admin/structure/block/manage/{block}/delete'
- defaults:
- _entity_form: 'block.delete'
- _title: 'Remove block'
- requirements:
- _permission: 'administer blocks'
-
- entity.block.edit_form:
- path: '/admin/structure/block/manage/{block}'
- defaults:
- _entity_form: 'block.default'
- _title: 'Configure block'
- requirements:
- _entity_access: 'block.update'
-
- entity.block.enable:
- path: '/admin/structure/block/manage/{block}/enable'
- defaults:
- _controller: '\Drupal\block\Controller\BlockController::performOperation'
- op: enable
- requirements:
- _entity_access: 'block.enable'
- _csrf_token: 'TRUE'
-
- entity.block.disable:
- path: '/admin/structure/block/manage/{block}/disable'
- defaults:
- _controller: '\Drupal\block\Controller\BlockController::performOperation'
- op: disable
- requirements:
- _entity_access: 'block.disable'
- _csrf_token: 'TRUE'
-
- block.admin_display:
- path: '/admin/structure/block'
- defaults:
- _controller: '\Drupal\block\Controller\BlockListController::listing'
- _title: 'Block layout'
- requirements:
- _permission: 'administer blocks'
-
- block.admin_display_theme:
- path: '/admin/structure/block/list/{theme}'
- defaults:
- _controller: '\Drupal\block\Controller\BlockListController::listing'
- _title: 'Block layout'
- requirements:
- _access_theme: 'TRUE'
- _permission: 'administer blocks'
-
- block.admin_library:
- path: '/admin/structure/block/library/{theme}'
- defaults:
- _controller: '\Drupal\block\Controller\BlockLibraryController::listBlocks'
- _title: 'Place block'
- requirements:
- _access_theme: 'TRUE'
- _permission: 'administer blocks'
-
- block.admin_add:
- path: '/admin/structure/block/add/{plugin_id}/{theme}'
- defaults:
- _controller: '\Drupal\block\Controller\BlockAddController::blockAddConfigureForm'
- theme: null
- _title: 'Configure block'
- requirements:
- _permission: 'administer blocks'
-
- block.category_autocomplete:
- path: '/block-category/autocomplete'
- defaults:
- _controller: '\Drupal\block\Controller\CategoryAutocompleteController::autocomplete'
- requirements:
- _permission: 'administer blocks'