You are here

js_injector.routing.yml in JS injector 8

File

js_injector.routing.yml
View source
  1. js_injector.rule_admin:
  2. path: '/admin/config/development/js-injector'
  3. defaults:
  4. _entity_list: 'js_injector_rule'
  5. _title: 'JS injector rules'
  6. requirements:
  7. _permission: 'administer js_injector'
  8. js_injector.rule_add:
  9. path: '/admin/config/development/js-injector/add-rule'
  10. defaults:
  11. _entity_form: 'js_injector_rule.add'
  12. _title: 'Add rule'
  13. requirements:
  14. _entity_create_access: 'js_injector_rule'
  15. js_injector.rule_customize:
  16. path: '/admin/config/development/js-injector/manage/{js_injector_rule}'
  17. defaults:
  18. _entity_form: 'js_injector_rule.default'
  19. _title: 'Edit rules'
  20. requirements:
  21. _entity_access: 'js_injector_rule.update'
  22. js_injector.rule_edit:
  23. path: '/admin/config/development/js-injector/manage/{js_injector_rule}/edit'
  24. defaults:
  25. _entity_form: 'js_injector_rule.default'
  26. _title: 'Edit rule'
  27. requirements:
  28. _entity_access: 'js_injector_rule.update'
  29. js_injector.rule_delete:
  30. path: '/admin/config/development/js-injector/manage/{js_injector_rule}/delete'
  31. defaults:
  32. _entity_form: 'js_injector_rule.delete'
  33. _title: 'Delete rule'
  34. requirements:
  35. _entity_access: 'js_injector_rule.delete'