You are here

panels.routing.yml in Panels 8.4

Same filename and directory in other branches
  1. 8.3 panels.routing.yml

File

panels.routing.yml
View source
  1. panels.select_block:
  2. path: '/admin/structure/panels/{tempstore_id}/{machine_name}/select_block'
  3. defaults:
  4. _controller: '\Drupal\panels\Controller\Panels::selectBlock'
  5. _title: 'Select block'
  6. requirements:
  7. _ctools_access: 'machine_name'
  8. panels.add_block:
  9. path: '/admin/structure/panels/{tempstore_id}/{machine_name}/add/{block_id}'
  10. defaults:
  11. _form: '\Drupal\panels\Form\PanelsAddBlockForm'
  12. _title: 'Add block'
  13. requirements:
  14. _ctools_access: 'machine_name'
  15. panels.edit_block:
  16. path: '/admin/structure/panels/{tempstore_id}/{machine_name}/edit/{block_id}'
  17. defaults:
  18. _form: '\Drupal\panels\Form\PanelsEditBlockForm'
  19. _title: 'Edit block'
  20. requirements:
  21. _ctools_access: 'machine_name'
  22. panels.delete_block:
  23. path: '/admin/structure/panels/{tempstore_id}/{machine_name}/delete/{block_id}'
  24. defaults:
  25. _form: '\Drupal\panels\Form\PanelsDeleteBlockForm'
  26. _title: 'Delete block'
  27. requirements:
  28. _ctools_access: 'machine_name'