You are here

javascript_libraries.routing.yml in JavaScript Libraries Manager 8

File

javascript_libraries.routing.yml
View source
  1. javascript_libraries.default_form:
  2. path: /admin/config/system/javascript-libraries
  3. defaults:
  4. _title: 'JavaScript libraries'
  5. _form: \Drupal\javascript_libraries\Form\JavascriptLibrariesDefaultForm
  6. requirements:
  7. _permission: 'administer site configuration'
  8. javascript_libraries.custom_form:
  9. path: /admin/config/system/javascript-libraries/custom
  10. defaults:
  11. _title: Custom
  12. _form: \Drupal\javascript_libraries\Form\JavascriptLibrariesCustomForm
  13. requirements:
  14. _permission: 'administer site configuration'
  15. javascript_libraries.custom_add_form:
  16. path: /admin/config/system/javascript-libraries/custom/add
  17. defaults:
  18. _title: 'Add library'
  19. _form: \Drupal\javascript_libraries\Form\JavascriptLibrariesCustomAddForm
  20. requirements:
  21. _permission: 'administer site configuration'
  22. javascript_libraries.edit_form:
  23. path: '/admin/config/system/javascript-libraries/custom/{library}/edit'
  24. defaults:
  25. _title: 'Edit JavaScript library'
  26. _form: \Drupal\javascript_libraries\Form\JavascriptLibrariesCustomAddForm
  27. requirements:
  28. _permission: 'administer site configuration'
  29. javascript_libraries.delete_form:
  30. path: '/admin/config/system/javascript-libraries/custom/{library}/delete'
  31. defaults:
  32. _title: 'Delete JavaScript library'
  33. _form: \Drupal\javascript_libraries\Form\JavascriptLibrariesDeleteForm
  34. requirements:
  35. _permission: 'administer site configuration'
  36. javascript_libraries.core_delete_form:
  37. path: '/admin/config/system/javascript-libraries/{library}/delete'
  38. defaults:
  39. _title: 'Delete Core JavaScript library'
  40. _form: \Drupal\javascript_libraries\Form\JavascriptCoreLibrariesDeleteForm
  41. requirements:
  42. _permission: 'administer site configuration'