views_ui.routing.yml

Same filename in other branches
  1. 9 core/modules/views_ui/views_ui.routing.yml
  2. 10 core/modules/views_ui/views_ui.routing.yml
  3. 11.x core/modules/views_ui/views_ui.routing.yml
core/modules/views_ui/views_ui.routing.yml
21 string references to YAML keys in views_ui.routing.yml
ConfigEntityMapper::getContextualLinkGroup in core/modules/config_translation/src/ConfigEntityMapper.php
Returns the name of the contextual link group to add contextual links to.
DisplayTest::testDisplayPluginsAlter in core/modules/views_ui/tests/src/Functional/DisplayTest.php
Tests views_ui_views_plugins_display_alter is altering plugin definitions.
EditDetails::buildForm in core/modules/views_ui/src/Form/Ajax/EditDetails.php
Form constructor.
ViewAddForm::cancel in core/modules/views_ui/src/ViewAddForm.php
Form submission handler for the 'cancel' action.
ViewAddForm::submitForm in core/modules/views_ui/src/ViewAddForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form stateā€¦

... See full list

File

core/modules/views_ui/views_ui.routing.yml

View source
  1. entity.view.collection:
  2. path: '/admin/structure/views'
  3. defaults:
  4. _entity_list: 'view'
  5. _title: 'Views'
  6. requirements:
  7. _permission: 'administer views'
  8. views_ui.add:
  9. path: '/admin/structure/views/add'
  10. defaults:
  11. _entity_form: 'view.add'
  12. _title: 'Add view'
  13. requirements:
  14. _entity_create_access: view
  15. views_ui.settings_basic:
  16. path: '/admin/structure/views/settings'
  17. defaults:
  18. _form: '\Drupal\views_ui\Form\BasicSettingsForm'
  19. _title: 'Views settings'
  20. requirements:
  21. _permission: 'administer views'
  22. views_ui.settings_advanced:
  23. path: '/admin/structure/views/settings/advanced'
  24. defaults:
  25. _form: '\Drupal\views_ui\Form\AdvancedSettingsForm'
  26. _title: 'Advanced Views settings'
  27. requirements:
  28. _permission: 'administer views'
  29. views_ui.reports_fields:
  30. path: '/admin/reports/fields/views-fields'
  31. defaults:
  32. _controller: '\Drupal\views_ui\Controller\ViewsUIController::reportFields'
  33. _title: 'Used in views'
  34. requirements:
  35. _permission: 'administer views'
  36. views_ui.reports_plugins:
  37. path: '/admin/reports/views-plugins'
  38. defaults:
  39. _controller: '\Drupal\views_ui\Controller\ViewsUIController::reportPlugins'
  40. _title: 'Views plugins'
  41. requirements:
  42. _permission: 'administer views'
  43. entity.view.enable:
  44. path: '/admin/structure/views/view/{view}/enable'
  45. defaults:
  46. _controller: '\Drupal\views_ui\Controller\ViewsUIController::ajaxOperation'
  47. op: enable
  48. requirements:
  49. _entity_access: view.enable
  50. _csrf_token: 'TRUE'
  51. entity.view.disable:
  52. path: '/admin/structure/views/view/{view}/disable'
  53. defaults:
  54. _controller: '\Drupal\views_ui\Controller\ViewsUIController::ajaxOperation'
  55. op: disable
  56. requirements:
  57. _entity_access: view.disable
  58. _csrf_token: 'TRUE'
  59. entity.view.duplicate_form:
  60. path: '/admin/structure/views/view/{view}/duplicate'
  61. defaults:
  62. _entity_form: 'view.duplicate'
  63. _title: 'Duplicate view'
  64. requirements:
  65. _entity_access: view.duplicate
  66. entity.view.delete_form:
  67. path: '/admin/structure/views/view/{view}/delete'
  68. defaults:
  69. _entity_form: 'view.delete'
  70. _title: 'Delete view'
  71. requirements:
  72. _entity_access: view.delete
  73. views_ui.autocomplete:
  74. path: '/admin/views/ajax/autocomplete/tag'
  75. defaults:
  76. _controller: '\Drupal\views_ui\Controller\ViewsUIController::autocompleteTag'
  77. requirements:
  78. _permission: 'administer views'
  79. entity.view.edit_form:
  80. path: '/admin/structure/views/view/{view}'
  81. options:
  82. parameters:
  83. view:
  84. tempstore: TRUE
  85. type: entity:view
  86. defaults:
  87. _controller: '\Drupal\views_ui\Controller\ViewsUIController::edit'
  88. requirements:
  89. _entity_access: view.update
  90. entity.view.edit_display_form:
  91. path: '/admin/structure/views/view/{view}/edit/{display_id}'
  92. options:
  93. parameters:
  94. view:
  95. tempstore: TRUE
  96. type: entity:view
  97. defaults:
  98. _controller: '\Drupal\views_ui\Controller\ViewsUIController::edit'
  99. display_id: NULL
  100. requirements:
  101. _entity_access: view.update
  102. entity.view.preview_form:
  103. path: '/admin/structure/views/view/{view}/preview/{display_id}'
  104. options:
  105. parameters:
  106. view:
  107. tempstore: TRUE
  108. type: entity:view
  109. defaults:
  110. _entity_form: 'view.preview'
  111. display_id: NULL
  112. requirements:
  113. _permission: 'administer views'
  114. entity.view.break_lock_form:
  115. path: '/admin/structure/views/view/{view}/break-lock'
  116. defaults:
  117. _entity_form: 'view.break_lock'
  118. _title: 'Break lock'
  119. requirements:
  120. _entity_access: view.break-lock
  121. views_ui.form_add_handler:
  122. path: '/admin/structure/views/{js}/add-handler/{view}/{display_id}/{type}'
  123. options:
  124. parameters:
  125. view:
  126. tempstore: TRUE
  127. type: entity:view
  128. defaults:
  129. _controller: '\Drupal\views_ui\Form\Ajax\AddHandler::getForm'
  130. requirements:
  131. _entity_access: view.update
  132. js: 'nojs|ajax'
  133. views_ui.form_edit_details:
  134. path: '/admin/structure/views/{js}/edit-details/{view}/{display_id}'
  135. options:
  136. parameters:
  137. view:
  138. tempstore: TRUE
  139. type: entity:view
  140. defaults:
  141. _controller: '\Drupal\views_ui\Form\Ajax\EditDetails::getForm'
  142. requirements:
  143. _entity_access: view.update
  144. js: 'nojs|ajax'
  145. views_ui.form_reorder_displays:
  146. path: '/admin/structure/views/{js}/reorder-displays/{view}/{display_id}'
  147. options:
  148. parameters:
  149. view:
  150. tempstore: TRUE
  151. type: entity:view
  152. defaults:
  153. _controller: '\Drupal\views_ui\Form\Ajax\ReorderDisplays::getForm'
  154. requirements:
  155. _entity_access: view.update
  156. js: 'nojs|ajax'
  157. views_ui.form_analyze:
  158. path: '/admin/structure/views/{js}/analyze/{view}/{display_id}'
  159. options:
  160. parameters:
  161. view:
  162. tempstore: TRUE
  163. type: entity:view
  164. defaults:
  165. _controller: '\Drupal\views_ui\Form\Ajax\Analyze::getForm'
  166. requirements:
  167. _entity_access: view.update
  168. js: 'nojs|ajax'
  169. views_ui.form_rearrange:
  170. path: '/admin/structure/views/{js}/rearrange/{view}/{display_id}/{type}'
  171. options:
  172. parameters:
  173. view:
  174. tempstore: TRUE
  175. type: entity:view
  176. defaults:
  177. _controller: '\Drupal\views_ui\Form\Ajax\Rearrange::getForm'
  178. requirements:
  179. _entity_access: view.update
  180. js: 'nojs|ajax'
  181. views_ui.form_rearrange_filter:
  182. path: '/admin/structure/views/{js}/rearrange-filter/{view}/{display_id}'
  183. options:
  184. parameters:
  185. view:
  186. tempstore: TRUE
  187. type: entity:view
  188. defaults:
  189. _controller: '\Drupal\views_ui\Form\Ajax\RearrangeFilter::getForm'
  190. requirements:
  191. _entity_access: view.update
  192. js: 'nojs|ajax'
  193. views_ui.form_display:
  194. path: '/admin/structure/views/{js}/display/{view}/{display_id}/{type}'
  195. options:
  196. parameters:
  197. view:
  198. tempstore: TRUE
  199. type: entity:view
  200. defaults:
  201. _controller: '\Drupal\views_ui\Form\Ajax\Display::getForm'
  202. requirements:
  203. _entity_access: view.update
  204. js: 'nojs|ajax'
  205. views_ui.form_handler:
  206. path: '/admin/structure/views/{js}/handler/{view}/{display_id}/{type}/{id}'
  207. options:
  208. parameters:
  209. view:
  210. tempstore: TRUE
  211. type: entity:view
  212. defaults:
  213. _controller: '\Drupal\views_ui\Form\Ajax\ConfigHandler::getForm'
  214. requirements:
  215. _entity_access: view.update
  216. js: 'nojs|ajax'
  217. views_ui.form_handler_extra:
  218. path: '/admin/structure/views/{js}/handler-extra/{view}/{display_id}/{type}/{id}'
  219. options:
  220. parameters:
  221. view:
  222. tempstore: TRUE
  223. type: entity:view
  224. defaults:
  225. _controller: '\Drupal\views_ui\Form\Ajax\ConfigHandlerExtra::getForm'
  226. requirements:
  227. _entity_access: view.update
  228. js: 'nojs|ajax'
  229. views_ui.form_handler_group:
  230. path: '/admin/structure/views/{js}/handler-group/{view}/{display_id}/{type}/{id}'
  231. options:
  232. parameters:
  233. view:
  234. tempstore: TRUE
  235. type: entity:view
  236. defaults:
  237. _controller: '\Drupal\views_ui\Form\Ajax\ConfigHandlerGroup::getForm'
  238. form_state: NULL
  239. requirements:
  240. _entity_access: view.update
  241. js: 'nojs|ajax'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.