You are here

draggable_dashboard.routing.yml in Draggable dashboard 8.2

Same filename and directory in other branches
  1. 8 draggable_dashboard.routing.yml

File

draggable_dashboard.routing.yml
View source
  1. draggable_dashboard.block_library:
  2. path: '/admin/structure/draggable-dashboard/{dashboard_entity}/list-blocks/{region}'
  3. defaults:
  4. _controller: '\Drupal\draggable_dashboard\Controller\DraggableDashboardController::listBlocks'
  5. _title: 'Place block'
  6. requirements:
  7. _permission: 'administer_draggable_dashboard'
  8. options:
  9. parameters:
  10. dashboard_entity:
  11. type: 'entity:dashboard_entity'
  12. draggable_dashboard.block_add:
  13. path: '/admin/structure/draggable-dashboard/{dashboard_entity}/add/{plugin_id}/{region}'
  14. defaults:
  15. _form: '\Drupal\draggable_dashboard\Form\DashboardAssignBlockForm'
  16. _title: 'Configure block'
  17. requirements:
  18. _permission: 'administer_draggable_dashboard'
  19. options:
  20. parameters:
  21. dashboard_entity:
  22. type: 'entity:dashboard_entity'
  23. draggable_dashboard.block_configure:
  24. path: '/admin/structure/draggable-dashboard/{dashboard_entity}/configure/{block_id}'
  25. defaults:
  26. _form: '\Drupal\draggable_dashboard\Form\DashboardConfigureBlockForm'
  27. _title: 'Configure block'
  28. requirements:
  29. _permission: 'administer_draggable_dashboard'
  30. options:
  31. parameters:
  32. dashboard_entity:
  33. type: 'entity:dashboard_entity'
  34. draggable_dashboard.block_delete:
  35. path: '/admin/structure/draggable-dashboard/{dashboard_entity}/delete/{block_id}'
  36. defaults:
  37. _title: 'Delete block'
  38. _form: '\Drupal\draggable_dashboard\Form\DashboardDeleteBlockForm'
  39. requirements:
  40. _permission: 'administer_draggable_dashboard'
  41. options:
  42. parameters:
  43. dashboard_entity:
  44. type: 'entity:dashboard_entity'