You are here

bibcite_entity.routing.yml in Bibliography & Citation 8

Same filename and directory in other branches
  1. 2.0.x modules/bibcite_entity/bibcite_entity.routing.yml
modules/bibcite_entity/bibcite_entity.routing.yml

File

modules/bibcite_entity/bibcite_entity.routing.yml
View source
  1. entity.bibcite_reference_type.add_form:
  2. path: '/admin/structure/bibcite/reference/settings/types/add'
  3. defaults:
  4. _entity_form: 'bibcite_reference_type.add'
  5. _title: 'Add reference type'
  6. requirements:
  7. _permission: 'administer bibcite_reference'
  8. entity.bibcite_reference_type.delete_form:
  9. path: '/admin/structure/bibcite/reference/settings/types/{bibcite_reference_type}/delete'
  10. defaults:
  11. _entity_form: 'bibcite_reference_type.delete'
  12. _title: 'Delete reference type'
  13. requirements:
  14. _entity_access: 'bibcite_reference_type.delete'
  15. entity.bibcite_reference_type.edit_form:
  16. path: '/admin/structure/bibcite/reference/settings/types/{bibcite_reference_type}'
  17. defaults:
  18. _entity_form: 'bibcite_reference_type.edit'
  19. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  20. requirements:
  21. _permission: 'administer bibcite_reference'
  22. entity.bibcite_reference_type.collection:
  23. path: '/admin/structure/bibcite/reference/settings/types'
  24. defaults:
  25. _entity_list: 'bibcite_reference_type'
  26. _title: 'Types'
  27. requirements:
  28. _permission: 'administer bibcite_reference'
  29. entity.bibcite_reference.add_form:
  30. path: '/bibcite/reference/add/{bibcite_reference_type}'
  31. defaults:
  32. _title: 'Add reference'
  33. _controller: '\Drupal\bibcite_entity\Controller\BibciteEntityController::add'
  34. requirements:
  35. _reference_add_access: 'bibcite_reference:{bibcite_reference_type}'
  36. options:
  37. _admin_route: TRUE
  38. entity.bibcite_reference.revision_delete_form:
  39. path: '/bibcite/reference/{bibcite_reference}/revisions/{bibcite_reference_revision}/delete'
  40. defaults:
  41. _form: '\Drupal\bibcite_entity\Form\ReferenceRevisionDeleteForm'
  42. _title: 'Delete earlier revision'
  43. requirements:
  44. _entity_access_revision: bibcite_reference.delete
  45. options:
  46. _admin_route: TRUE
  47. parameters:
  48. bibcite_reference_revision:
  49. type: entity_revision:bibcite_reference
  50. entity.bibcite_reference.collection:
  51. path: '/admin/content/bibcite/reference'
  52. defaults:
  53. _entity_list: 'bibcite_reference'
  54. _title: 'References'
  55. requirements:
  56. _permission: 'view bibcite_reference'
  57. entity.bibcite_reference.delete_multiple_form:
  58. path: '/admin/content/bibcite/reference/delete'
  59. defaults:
  60. _form: '\Drupal\bibcite_entity\Form\DeleteMultiple'
  61. entity_type_id: 'bibcite_reference'
  62. requirements:
  63. _permission: 'administer bibcite_reference'
  64. entity.bibcite_keyword.collection:
  65. path: '/admin/content/bibcite/keyword'
  66. defaults:
  67. _entity_list: 'bibcite_keyword'
  68. _title: 'Keywords'
  69. requirements:
  70. _permission: 'view bibcite_keyword'
  71. entity.bibcite_keyword.delete_multiple_form:
  72. path: '/admin/content/bibcite/keyword/delete'
  73. defaults:
  74. _form: '\Drupal\bibcite_entity\Form\DeleteMultiple'
  75. entity_type_id: 'bibcite_keyword'
  76. requirements:
  77. _permission: 'administer bibcite_keyword'
  78. entity.bibcite_keyword.bibcite_merge_form:
  79. path: '/admin/content/bibcite/keyword/{bibcite_keyword}/merge'
  80. defaults:
  81. _form: 'Drupal\bibcite_entity\Form\MergeForm'
  82. _title_callback: 'Drupal\bibcite_entity\Form\MergeForm::getTitle'
  83. requirements:
  84. _permission: 'administer bibcite_keyword'
  85. options:
  86. _bibcite_entity_type_id: 'bibcite_keyword'
  87. parameters:
  88. bibcite_keyword:
  89. type: 'entity:bibcite_keyword'
  90. entity.bibcite_keyword.bibcite_merge_form_confirm:
  91. path: '/admin/content/bibcite/keyword/{bibcite_keyword}/merge/{bibcite_keyword_target}'
  92. defaults:
  93. _form: 'Drupal\bibcite_entity\Form\MergeConfirmForm'
  94. field_name: 'keywords'
  95. requirements:
  96. _permission: 'administer bibcite_keyword'
  97. options:
  98. _bibcite_entity_type_id: 'bibcite_keyword'
  99. parameters:
  100. bibcite_keyword:
  101. type: 'entity:bibcite_keyword'
  102. bibcite_keyword_target:
  103. type: 'entity:bibcite_keyword'
  104. entity.bibcite_keyword.bibcite_merge_multiple_form:
  105. path: '/admin/content/bibcite/keyword/merge'
  106. defaults:
  107. _form: 'Drupal\bibcite_entity\Form\MergeMultipleForm'
  108. entity_type_id: 'bibcite_keyword'
  109. field_name: 'keyword'
  110. requirements:
  111. _permission: 'administer bibcite_keyword'
  112. entity.bibcite_contributor.collection:
  113. path: '/admin/content/bibcite/contributor'
  114. defaults:
  115. _entity_list: 'bibcite_contributor'
  116. _title: 'Contributors'
  117. requirements:
  118. _permission: 'view bibcite_contributor'
  119. entity.bibcite_contributor.delete_multiple_form:
  120. path: '/admin/content/bibcite/contributor/delete'
  121. defaults:
  122. _form: '\Drupal\bibcite_entity\Form\DeleteMultiple'
  123. entity_type_id: 'bibcite_contributor'
  124. requirements:
  125. _permission: 'administer bibcite_keyword'
  126. entity.bibcite_contributor.bibcite_merge_form:
  127. path: '/admin/content/bibcite/contributor/{bibcite_contributor}/merge'
  128. defaults:
  129. _form: 'Drupal\bibcite_entity\Form\MergeForm'
  130. _title_callback: 'Drupal\bibcite_entity\Form\MergeForm::getTitle'
  131. requirements:
  132. _permission: 'administer bibcite_contributor'
  133. options:
  134. _bibcite_entity_type_id: 'bibcite_contributor'
  135. parameters:
  136. bibcite_contributor:
  137. type: 'entity:bibcite_contributor'
  138. entity.bibcite_contributor.bibcite_merge_form_confirm:
  139. path: '/admin/content/bibcite/contributor/{bibcite_contributor}/merge/{bibcite_contributor_target}'
  140. defaults:
  141. _form: 'Drupal\bibcite_entity\Form\MergeConfirmForm'
  142. field_name: 'author'
  143. requirements:
  144. _permission: 'administer bibcite_contributor'
  145. options:
  146. _bibcite_entity_type_id: 'bibcite_contributor'
  147. parameters:
  148. bibcite_contributor:
  149. type: 'entity:bibcite_contributor'
  150. bibcite_contributor_target:
  151. type: 'entity:bibcite_contributor'
  152. entity.bibcite_contributor.bibcite_merge_multiple_form:
  153. path: '/admin/content/bibcite/contributor/merge'
  154. defaults:
  155. _form: 'Drupal\bibcite_entity\Form\MergeMultipleForm'
  156. entity_type_id: 'bibcite_contributor'
  157. field_name: 'author'
  158. requirements:
  159. _permission: 'administer bibcite_contributor'
  160. entity.bibcite_contributor_category.collection:
  161. path: '/admin/structure/bibcite/contributor/settings/category'
  162. defaults:
  163. _entity_list: 'bibcite_contributor_category'
  164. _title: 'Contributor categories'
  165. requirements:
  166. _permission: 'administer bibcite_reference'
  167. entity.bibcite_contributor_category.add_form:
  168. path: '/admin/structure/bibcite/contributor/settings/category/add'
  169. defaults:
  170. _entity_form: 'bibcite_contributor_category.add'
  171. _title: 'Add contributor category'
  172. requirements:
  173. _permission: 'administer bibcite_reference'
  174. entity.bibcite_contributor_category.edit_form:
  175. path: '/admin/structure/bibcite/contributor/settings/category/{bibcite_contributor_category}'
  176. defaults:
  177. _entity_form: 'bibcite_contributor_category.edit'
  178. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  179. requirements:
  180. _permission: 'administer bibcite_reference'
  181. entity.bibcite_contributor_category.delete_form:
  182. path: '/admin/structure/bibcite/contributor/settings/category/{bibcite_contributor_category}/delete'
  183. defaults:
  184. _entity_form: 'bibcite_contributor_category.delete'
  185. _title: 'Delete contributor category'
  186. requirements:
  187. _entity_access: 'bibcite_contributor_category.delete'
  188. entity.bibcite_contributor_role.collection:
  189. path: '/admin/structure/bibcite/contributor/settings/role'
  190. defaults:
  191. _entity_list: 'bibcite_contributor_role'
  192. _title: 'Contributor roles'
  193. requirements:
  194. _permission: 'administer bibcite_reference'
  195. entity.bibcite_contributor_role.add_form:
  196. path: '/admin/structure/bibcite/contributor/settings/role/add'
  197. defaults:
  198. _entity_form: 'bibcite_contributor_role.add'
  199. _title: 'Add contributor role'
  200. requirements:
  201. _permission: 'administer bibcite_reference'
  202. entity.bibcite_contributor_role.edit_form:
  203. path: '/admin/structure/bibcite/contributor/settings/role/{bibcite_contributor_role}'
  204. defaults:
  205. _entity_form: 'bibcite_contributor_role.edit'
  206. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  207. requirements:
  208. _permission: 'administer bibcite_reference'
  209. entity.bibcite_contributor_role.delete_form:
  210. path: '/admin/structure/bibcite/contributor/settings/role/{bibcite_contributor_role}/delete'
  211. defaults:
  212. _entity_form: 'bibcite_contributor_role.delete'
  213. _title: 'Delete contributor role'
  214. requirements:
  215. _entity_access: 'bibcite_contributor_role.delete'
  216. bibcite_entity.contributor.settings:
  217. path: '/admin/structure/bibcite/contributor/settings'
  218. defaults:
  219. _form: '\Drupal\bibcite_entity\Form\ContributorSettings'
  220. _title: 'Contributors'
  221. requirements:
  222. _permission: 'administer bibcite'
  223. bibcite_entity.keyword.settings:
  224. path: '/admin/structure/bibcite/keyword/settings'
  225. defaults:
  226. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  227. _title: 'Keywords'
  228. requirements:
  229. _permission: 'administer bibcite'
  230. bibcite_entity.reference.settings:
  231. path: '/admin/structure/bibcite/reference/settings'
  232. defaults:
  233. _form: '\Drupal\bibcite_entity\Form\ReferenceSettings'
  234. _title: 'References'
  235. requirements:
  236. _permission: 'administer bibcite'
  237. bibcite_entity.reference.settings.links:
  238. path: '/admin/structure/bibcite/reference/settings/links'
  239. defaults:
  240. _form: '\Drupal\bibcite_entity\Form\ReferenceSettingsLinksForm'
  241. _title: 'Links'
  242. requirements:
  243. _permission: 'administer bibcite'
  244. bibcite_entity.mapping:
  245. path: '/admin/config/bibcite/settings/mapping/{bibcite_format}'
  246. defaults:
  247. _form: '\Drupal\bibcite_entity\Form\MappingForm'
  248. _title_callback: '\Drupal\bibcite_entity\Form\MappingForm:formTitle'
  249. requirements:
  250. _permission: 'administer bibcite'
  251. options:
  252. parameters:
  253. bibcite_format:
  254. type: bibcite_format
  255. bibcite_entity.mapping.csl:
  256. path: '/admin/config/bibcite/settings/mapping/csl'
  257. defaults:
  258. _form: '\Drupal\bibcite_entity\Form\CslMappingForm'
  259. _title: 'Mapping for CSL format'
  260. requirements:
  261. _permission: 'administer bibcite'
  262. bibcite_entity.settings:
  263. path: '/admin/structure/bibcite'
  264. defaults:
  265. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  266. _title: 'Bibliography'
  267. requirements:
  268. _permission: 'administer bibcite'
  269. entity.bibcite_reference.preview:
  270. path: '/bibcite/reference/preview/{bibcite_reference_preview}/{view_mode_id}'
  271. defaults:
  272. _controller: '\Drupal\bibcite_entity\Controller\BibciteEntityPreviewController::view'
  273. _title_callback: '\Drupal\bibcite_entity\Controller\BibciteEntityPreviewController::title'
  274. requirements:
  275. _bibcite_reference_preview_access: '{bibcite_reference_preview}'
  276. options:
  277. parameters:
  278. bibcite_reference_preview:
  279. type: 'bibcite_reference_preview'