You are here

asset_injector.routing.yml in Asset Injector 8

Same filename and directory in other branches
  1. 8.2 asset_injector.routing.yml

File

asset_injector.routing.yml
View source
  1. asset_injector.development:
  2. path: '/admin/config/development/asset-injector'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'Asset Injector'
  6. requirements:
  7. _permission: 'administer css assets injector'
  8. _permission: 'administer js assets injector'
  9. # CssInjector routing definition
  10. entity.css_injector.collection:
  11. path: '/admin/config/development/asset-injector/css'
  12. defaults:
  13. _entity_list: 'css_injector'
  14. _title: 'Css Injector'
  15. requirements:
  16. _permission: 'administer css assets injector'
  17. entity.css_injector.add_form:
  18. path: '/admin/config/development/asset-injector/css/add'
  19. defaults:
  20. _entity_form: 'css_injector.add'
  21. _title: 'Add Css Injector'
  22. requirements:
  23. _permission: 'administer css assets injector'
  24. entity.css_injector.edit_form:
  25. path: '/admin/config/development/asset-injector/css/{css_injector}'
  26. defaults:
  27. _entity_form: 'css_injector.edit'
  28. _title: 'Edit Css Injector'
  29. requirements:
  30. _permission: 'administer css assets injector'
  31. entity.css_injector.delete_form:
  32. path: '/admin/config/development/asset-injector/css/{css_injector}/delete'
  33. defaults:
  34. _entity_form: 'css_injector.delete'
  35. _title: 'Delete Css Injector'
  36. requirements:
  37. _permission: 'administer css assets injector'
  38. entity.css_injector.enable:
  39. path: '/admin/config/development/asset-injector/css/{css_injector}/enable'
  40. defaults:
  41. _entity_form: 'css_injector.enable'
  42. _title: 'Enable Css Injector'
  43. requirements:
  44. _permission: 'administer css assets injector'
  45. entity.css_injector.disable:
  46. path: '/admin/config/development/asset-injector/css/{css_injector}/disable'
  47. defaults:
  48. _entity_form: 'css_injector.disable'
  49. _title: 'Disable Css Injector'
  50. requirements:
  51. _permission: 'administer css assets injector'
  52. entity.css_injector.duplicate_form:
  53. path: '/admin/config/development/asset-injector/css/{css_injector}/duplicate'
  54. defaults:
  55. _entity_form: 'css_injector.duplicate'
  56. _title: 'Duplicate CSS Injector'
  57. requirements:
  58. _permission: 'administer css assets injector'
  59. # JsInjector routing definition
  60. entity.js_injector.collection:
  61. path: '/admin/config/development/asset-injector/js'
  62. defaults:
  63. _entity_list: 'js_injector'
  64. _title: 'Js Injector'
  65. requirements:
  66. _permission: 'administer js assets injector'
  67. entity.js_injector.add_form:
  68. path: '/admin/config/development/asset-injector/js/add'
  69. defaults:
  70. _entity_form: 'js_injector.add'
  71. _title: 'Add Js Injector'
  72. requirements:
  73. _permission: 'administer js assets injector'
  74. entity.js_injector.edit_form:
  75. path: '/admin/config/development/asset-injector/js/{js_injector}'
  76. defaults:
  77. _entity_form: 'js_injector.edit'
  78. _title: 'Edit Js Injector'
  79. requirements:
  80. _permission: 'administer js assets injector'
  81. entity.js_injector.delete_form:
  82. path: '/admin/config/development/asset-injector/js/{js_injector}/delete'
  83. defaults:
  84. _entity_form: 'js_injector.delete'
  85. _title: 'Delete Js Injector'
  86. requirements:
  87. _permission: 'administer js assets injector'
  88. entity.js_injector.enable:
  89. path: '/admin/config/development/asset-injector/js/{js_injector}/enable'
  90. defaults:
  91. _entity_form: 'js_injector.enable'
  92. _title: 'Enable js Injector'
  93. requirements:
  94. _permission: 'administer js assets injector'
  95. entity.js_injector.disable:
  96. path: '/admin/config/development/asset-injector/js/{js_injector}/disable'
  97. defaults:
  98. _entity_form: 'js_injector.disable'
  99. _title: 'Disable js Injector'
  100. requirements:
  101. _permission: 'administer js assets injector'
  102. entity.js_injector.duplicate_form:
  103. path: '/admin/config/development/asset-injector/js/{js_injector}/duplicate'
  104. defaults:
  105. _entity_form: 'js_injector.duplicate'
  106. _title: 'Duplicate JS Injector'
  107. requirements:
  108. _permission: 'administer js assets injector'