block.routing.yml

Same filename and directory in other branches
  1. 11.x core/modules/block/block.routing.yml
  2. 10 core/modules/block/block.routing.yml
  3. 9 core/modules/block/block.routing.yml
  4. 8.9.x core/modules/block/block.routing.yml
core/modules/block/block.routing.yml
3 string references to YAML keys in block.routing.yml
BlockLocalTasksTest::testBlockAdminLocalTasks in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
Tests the admin edit local task.
LanguageHooks::help in core/modules/language/src/Hook/LanguageHooks.php
Implements hook_help().
SystemHooks::help in core/modules/system/src/Hook/SystemHooks.php
Implements hook_help().

File

core/modules/block/block.routing.yml

View source
  1. entity.block.delete_form:
  2. path: '/admin/structure/block/manage/{block}/delete'
  3. defaults:
  4. _entity_form: 'block.delete'
  5. _title: 'Remove block'
  6. requirements:
  7. _permission: 'administer blocks'
  8. entity.block.edit_form:
  9. path: '/admin/structure/block/manage/{block}'
  10. defaults:
  11. _entity_form: 'block.default'
  12. _title: 'Configure block'
  13. requirements:
  14. _entity_access: 'block.update'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.