draggable_dashboard.routing.yml in Draggable dashboard 8.2
File
draggable_dashboard.routing.yml
View source
- draggable_dashboard.block_library:
- path: '/admin/structure/draggable-dashboard/{dashboard_entity}/list-blocks/{region}'
- defaults:
- _controller: '\Drupal\draggable_dashboard\Controller\DraggableDashboardController::listBlocks'
- _title: 'Place block'
- requirements:
- _permission: 'administer_draggable_dashboard'
- options:
- parameters:
- dashboard_entity:
- type: 'entity:dashboard_entity'
-
- draggable_dashboard.block_add:
- path: '/admin/structure/draggable-dashboard/{dashboard_entity}/add/{plugin_id}/{region}'
- defaults:
- _form: '\Drupal\draggable_dashboard\Form\DashboardAssignBlockForm'
- _title: 'Configure block'
- requirements:
- _permission: 'administer_draggable_dashboard'
- options:
- parameters:
- dashboard_entity:
- type: 'entity:dashboard_entity'
-
- draggable_dashboard.block_configure:
- path: '/admin/structure/draggable-dashboard/{dashboard_entity}/configure/{block_id}'
- defaults:
- _form: '\Drupal\draggable_dashboard\Form\DashboardConfigureBlockForm'
- _title: 'Configure block'
- requirements:
- _permission: 'administer_draggable_dashboard'
- options:
- parameters:
- dashboard_entity:
- type: 'entity:dashboard_entity'
-
- draggable_dashboard.block_delete:
- path: '/admin/structure/draggable-dashboard/{dashboard_entity}/delete/{block_id}'
- defaults:
- _title: 'Delete block'
- _form: '\Drupal\draggable_dashboard\Form\DashboardDeleteBlockForm'
- requirements:
- _permission: 'administer_draggable_dashboard'
- options:
- parameters:
- dashboard_entity:
- type: 'entity:dashboard_entity'