2014-06-09 20:19:08 +00:00
|
|
|
block_content.add_page:
|
|
|
|
path: '/block/add'
|
|
|
|
defaults:
|
2014-11-20 09:47:06 +00:00
|
|
|
_controller: '\Drupal\block_content\Controller\BlockContentController::add'
|
2014-06-09 20:19:08 +00:00
|
|
|
_title: 'Add custom block'
|
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer blocks'
|
|
|
|
|
|
|
|
block_content.add_form:
|
|
|
|
path: '/block/add/{block_content_type}'
|
|
|
|
defaults:
|
2014-11-20 09:47:06 +00:00
|
|
|
_controller: '\Drupal\block_content\Controller\BlockContentController::addForm'
|
2019-09-17 10:30:36 +00:00
|
|
|
_title_callback: '\Drupal\block_content\Controller\BlockContentController::getAddFormTitle'
|
2014-06-09 20:19:08 +00:00
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer blocks'
|
|
|
|
|
2014-08-12 02:54:07 +00:00
|
|
|
entity.block_content.canonical:
|
2014-06-09 20:19:08 +00:00
|
|
|
path: '/block/{block_content}'
|
|
|
|
defaults:
|
|
|
|
_entity_form: 'block_content.edit'
|
2023-01-25 10:39:26 +00:00
|
|
|
_title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
|
2015-01-13 10:32:23 +00:00
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'block_content.update'
|
2015-11-13 01:47:26 +00:00
|
|
|
block_content: \d+
|
2015-01-13 10:32:23 +00:00
|
|
|
|
|
|
|
entity.block_content.edit_form:
|
|
|
|
path: '/block/{block_content}'
|
|
|
|
defaults:
|
|
|
|
_entity_form: 'block_content.edit'
|
2014-06-09 20:19:08 +00:00
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'block_content.update'
|
2015-11-13 01:47:26 +00:00
|
|
|
block_content: \d+
|
2014-06-09 20:19:08 +00:00
|
|
|
|
2014-08-12 02:54:07 +00:00
|
|
|
entity.block_content.delete_form:
|
2014-06-09 20:19:08 +00:00
|
|
|
path: '/block/{block_content}/delete'
|
|
|
|
defaults:
|
|
|
|
_entity_form: 'block_content.delete'
|
|
|
|
_title: 'Delete'
|
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'block_content.delete'
|
2015-11-13 01:47:26 +00:00
|
|
|
block_content: \d+
|
2014-06-09 20:19:08 +00:00
|
|
|
|
|
|
|
block_content.type_add:
|
Issue #2987964 by smustgrave, pminf, manuel.adan, maboresev, kishor_kolekar, benjifisher, rkoller, Chris Matthews, Sutharsan, xjm, Amber Himes Matz, AaronMcHale, larowlan, tim.plunkett, tedbow, catch: Move custom block types admin link to admin/structure
2022-12-23 19:53:58 +00:00
|
|
|
path: '/admin/structure/block-content/add'
|
2014-06-09 20:19:08 +00:00
|
|
|
defaults:
|
|
|
|
_entity_form: 'block_content_type.add'
|
|
|
|
_title: 'Add'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer blocks'
|
|
|
|
|
2015-01-19 09:37:11 +00:00
|
|
|
entity.block_content.collection:
|
2014-06-09 20:19:08 +00:00
|
|
|
path: '/admin/structure/block/block-content'
|
|
|
|
defaults:
|
|
|
|
_title: 'Custom block library'
|
|
|
|
_entity_list: 'block_content'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer blocks'
|