You are here

asset_injector.routing.yml in Asset Injector 8.2

Same filename and directory in other branches
  1. 8 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+administer js assets injector'
  8. # AssetInjectorCsss routing definition
  9. entity.asset_injector_css.collection:
  10. path: '/admin/config/development/asset-injector/css'
  11. defaults:
  12. _entity_list: 'asset_injector_css'
  13. _title: 'CSS Injector'
  14. requirements:
  15. _permission: 'administer css assets injector'
  16. entity.asset_injector_css.add_form:
  17. path: '/admin/config/development/asset-injector/css/add'
  18. defaults:
  19. _entity_form: 'asset_injector_css.add'
  20. _title: 'Add CSS Injector'
  21. requirements:
  22. _permission: 'administer css assets injector'
  23. entity.asset_injector_css.edit_form:
  24. path: '/admin/config/development/asset-injector/css/{asset_injector_css}'
  25. defaults:
  26. _entity_form: 'asset_injector_css.edit'
  27. _title: 'Edit CSS Injector'
  28. requirements:
  29. _permission: 'administer css assets injector'
  30. entity.asset_injector_css.canonical:
  31. path: '/admin/config/development/asset-injector/css/{asset_injector_css}'
  32. defaults:
  33. _entity_form: 'asset_injector_css.edit'
  34. _title: 'Edit CSS Injector'
  35. requirements:
  36. _permission: 'administer css assets injector'
  37. entity.asset_injector_css.delete_form:
  38. path: '/admin/config/development/asset-injector/css/{asset_injector_css}/delete'
  39. defaults:
  40. _entity_form: 'asset_injector_css.delete'
  41. _title: 'Delete CSS Injector'
  42. requirements:
  43. _permission: 'administer css assets injector'
  44. entity.asset_injector_css.enable:
  45. path: '/admin/config/development/asset-injector/css/{asset_injector_css}/enable'
  46. defaults:
  47. _entity_form: 'asset_injector_css.enable'
  48. _title: 'Enable CSS Injector'
  49. requirements:
  50. _permission: 'administer css assets injector'
  51. entity.asset_injector_css.disable:
  52. path: '/admin/config/development/asset-injector/css/{asset_injector_css}/disable'
  53. defaults:
  54. _entity_form: 'asset_injector_css.disable'
  55. _title: 'Disable CSS Injector'
  56. requirements:
  57. _permission: 'administer css assets injector'
  58. entity.asset_injector_css.duplicate_form:
  59. path: '/admin/config/development/asset-injector/css/{asset_injector_css}/duplicate'
  60. defaults:
  61. _entity_form: 'asset_injector_css.duplicate'
  62. _title: 'Duplicate CSS Injector'
  63. requirements:
  64. _permission: 'administer css assets injector'
  65. # AssetInjectorJs routing definition
  66. entity.asset_injector_js.collection:
  67. path: '/admin/config/development/asset-injector/js'
  68. defaults:
  69. _entity_list: 'asset_injector_js'
  70. _title: 'Js Injector'
  71. requirements:
  72. _permission: 'administer js assets injector'
  73. entity.asset_injector_js.add_form:
  74. path: '/admin/config/development/asset-injector/js/add'
  75. defaults:
  76. _entity_form: 'asset_injector_js.add'
  77. _title: 'Add Js Injector'
  78. requirements:
  79. _permission: 'administer js assets injector'
  80. entity.asset_injector_js.edit_form:
  81. path: '/admin/config/development/asset-injector/js/{asset_injector_js}'
  82. defaults:
  83. _entity_form: 'asset_injector_js.edit'
  84. _title: 'Edit Js Injector'
  85. requirements:
  86. _permission: 'administer js assets injector'
  87. entity.asset_injector_js.canonical:
  88. path: '/admin/config/development/asset-injector/js/{asset_injector_js}'
  89. defaults:
  90. _entity_form: 'asset_injector_js.edit'
  91. _title: 'Edit Js Injector'
  92. requirements:
  93. _permission: 'administer js assets injector'
  94. entity.asset_injector_js.delete_form:
  95. path: '/admin/config/development/asset-injector/js/{asset_injector_js}/delete'
  96. defaults:
  97. _entity_form: 'asset_injector_js.delete'
  98. _title: 'Delete Js Injector'
  99. requirements:
  100. _permission: 'administer js assets injector'
  101. entity.asset_injector_js.enable:
  102. path: '/admin/config/development/asset-injector/js/{asset_injector_js}/enable'
  103. defaults:
  104. _entity_form: 'asset_injector_js.enable'
  105. _title: 'Enable js Injector'
  106. requirements:
  107. _permission: 'administer js assets injector'
  108. entity.asset_injector_js.disable:
  109. path: '/admin/config/development/asset-injector/js/{asset_injector_js}/disable'
  110. defaults:
  111. _entity_form: 'asset_injector_js.disable'
  112. _title: 'Disable js Injector'
  113. requirements:
  114. _permission: 'administer js assets injector'
  115. entity.asset_injector_js.duplicate_form:
  116. path: '/admin/config/development/asset-injector/js/{asset_injector_js}/duplicate'
  117. defaults:
  118. _entity_form: 'asset_injector_js.duplicate'
  119. _title: 'Duplicate JS Injector'
  120. requirements:
  121. _permission: 'administer js assets injector'