You are here

dynamic_banner.routing.yml in Dynamic Banner 8

File

dynamic_banner.routing.yml
View source
  1. cdb.listbanners:
  2. path: '/admin/structure/banners'
  3. defaults:
  4. _controller: '\Drupal\dynamic_banner\application\Controller\CdbController::adminListPage'
  5. _title: 'Dynamic Banner'
  6. requirements:
  7. _permission: 'Manage Dynamic Banner list'
  8. cdb.bannersetting:
  9. path: '/admin/structure/banners/settings'
  10. defaults:
  11. _form: '\Drupal\dynamic_banner\forms\AdminSettingForm'
  12. _title: 'Dynamic Banner - Settings'
  13. requirements:
  14. _permission: 'Configure Dynamic Banner'
  15. cdb.banneradd:
  16. path: '/admin/structure/banners/add'
  17. defaults:
  18. _form: '\Drupal\dynamic_banner\forms\AddBannerForm'
  19. _title: 'Add Dynamic Banner'
  20. requirements:
  21. _permission: 'Add Dynamic Banner'
  22. cdb.banneredit:
  23. path: '/admin/structure/banners/edit/{bid}'
  24. defaults:
  25. _form: '\Drupal\dynamic_banner\forms\AddBannerForm'
  26. _title: 'Edit Dynamic Banner'
  27. requirements:
  28. _permission: 'Edit Dynamic Banner'
  29. cdb.bannerdel:
  30. path: '/admin/structure/banners/delete/{bid}'
  31. defaults:
  32. _form: '\Drupal\dynamic_banner\forms\DeleteBannerForm'
  33. _title: 'Delete Dynamic Banner'
  34. requirements:
  35. _permission: 'Delete Dynamic Banner'