You are here

ds.routing.yml in Display Suite 8.3

Same filename and directory in other branches
  1. 8.4 ds.routing.yml
  2. 8.2 ds.routing.yml

File

ds.routing.yml
View source
  1. ds.structure:
  2. path: '/admin/structure/ds'
  3. defaults:
  4. _controller: '\Drupal\ds\Controller\DsController::listDisplays'
  5. _title: 'Displays'
  6. requirements:
  7. _permission: 'admin display suite'
  8. ds.list:
  9. path: '/admin/structure/ds/list'
  10. defaults:
  11. _controller: '\Drupal\ds\Controller\DsController::listDisplays'
  12. _title: 'Displays'
  13. requirements:
  14. _permission: 'admin display suite'
  15. ds.admin_settings:
  16. path: '/admin/structure/ds/settings'
  17. defaults:
  18. _form: '\Drupal\ds\Form\SettingsForm'
  19. _title: 'Settings'
  20. requirements:
  21. _permission: 'admin display suite'
  22. ds.admin_emergency:
  23. path: '/admin/structure/ds/emergency'
  24. defaults:
  25. _form: '\Drupal\ds\Form\EmergencyForm'
  26. _title: 'Emergency settings'
  27. requirements:
  28. _permission: 'admin display suite'
  29. ds.change_layout:
  30. path: '/admin/structure/ds/change-layout/{entity_type}/{bundle}/{display_mode}/{new_layout}'
  31. defaults:
  32. _form: '\Drupal\ds\Form\ChangeLayoutForm'
  33. _title: 'Change layout'
  34. requirements:
  35. _permission: 'admin display suite'
  36. ds.classes:
  37. path: '/admin/structure/ds/classes'
  38. defaults:
  39. _form: '\Drupal\ds\Form\ClassesForm'
  40. _title: 'Classes'
  41. requirements:
  42. _permission: 'admin classes'
  43. ds.fields_list:
  44. path: '/admin/structure/ds/fields'
  45. defaults:
  46. _controller: 'Drupal\ds\Controller\FieldController::fieldList'
  47. _title: 'Fields'
  48. requirements:
  49. _permission: 'admin fields'
  50. ds.manage_field:
  51. path: '/admin/structure/ds/fields/manage/{field_key}'
  52. defaults:
  53. _controller: 'Drupal\ds\Controller\FieldController::manageRedirect'
  54. requirements:
  55. _permission: 'admin fields'
  56. ds.delete_field:
  57. path: '/admin/structure/ds/fields/delete/{field_key}'
  58. defaults:
  59. _form: '\Drupal\ds\Form\FieldDeleteForm'
  60. requirements:
  61. _permission: 'admin fields'
  62. ds.manage_token_field:
  63. path: '/admin/structure/ds/fields/manage_token/{field_key}'
  64. defaults:
  65. _form: '\Drupal\ds\Form\TokenFieldForm'
  66. _title: 'Edit a token field'
  67. requirements:
  68. _permission: 'admin fields'
  69. ds.manage_twig_field:
  70. path: '/admin/structure/ds/fields/manage_twig/{field_key}'
  71. defaults:
  72. _form: '\Drupal\ds\Form\TwigFieldForm'
  73. _title: 'Edit a twig field'
  74. requirements:
  75. _permission: 'admin fields'
  76. ds.add_token_field:
  77. path: '/admin/structure/ds/fields/manage_token'
  78. defaults:
  79. _form: '\Drupal\ds\Form\TokenFieldForm'
  80. _title: 'Add a token field'
  81. requirements:
  82. _permission: 'admin fields'
  83. ds.add_twig_field:
  84. path: '/admin/structure/ds/fields/manage_twig'
  85. defaults:
  86. _form: '\Drupal\ds\Form\TwigFieldForm'
  87. _title: 'Add a twig field'
  88. requirements:
  89. _permission: 'admin fields'
  90. ds.manage_block_field:
  91. path: '/admin/structure/ds/fields/manage_block/{field_key}'
  92. defaults:
  93. _form: '\Drupal\ds\Form\BlockFieldForm'
  94. _title: 'Edit a block field'
  95. requirements:
  96. _permission: 'admin fields'
  97. ds.manage_block_field_config:
  98. path: '/admin/structure/ds/fields/manage_block/{field_key}/block_config'
  99. defaults:
  100. _form: '\Drupal\ds\Form\BlockFieldConfigForm'
  101. _title: 'Edit block config'
  102. requirements:
  103. _permission: 'admin fields'
  104. ds.add_block_field:
  105. path: '/admin/structure/ds/fields/manage_block'
  106. defaults:
  107. _form: '\Drupal\ds\Form\BlockFieldForm'
  108. _title: 'Add a block field'
  109. requirements:
  110. _permission: 'admin fields'
  111. ds.manage_copy_field:
  112. path: '/admin/structure/ds/fields/manage_copy/{field_key}'
  113. defaults:
  114. _form: '\Drupal\ds\Form\CopyFieldForm'
  115. _title: 'Edit a copy of a Display Suite field'
  116. requirements:
  117. _permission: 'admin fields'
  118. ds.add_copy_field:
  119. path: '/admin/structure/ds/fields/manage_copy'
  120. defaults:
  121. _form: '\Drupal\ds\Form\CopyFieldForm'
  122. _title: 'Add a copy of a Display Suite field'
  123. requirements:
  124. _permission: 'admin fields'