You are here

linkit.routing.yml in Linkit 8.4

Same filename and directory in other branches
  1. 8.5 linkit.routing.yml

File

linkit.routing.yml
View source
  1. entity.linkit_profile.collection:
  2. path: '/admin/config/content/linkit'
  3. defaults:
  4. _entity_list: 'linkit_profile'
  5. _title: 'Linkit profiles'
  6. requirements:
  7. _permission: 'administer linkit profiles'
  8. entity.linkit_profile.add_form:
  9. path: '/admin/config/content/linkit/add'
  10. defaults:
  11. _entity_form: linkit_profile.add
  12. _title: 'Add profile'
  13. requirements:
  14. _permission: 'administer linkit profiles'
  15. entity.linkit_profile.edit_form:
  16. path: '/admin/config/content/linkit/manage/{linkit_profile}'
  17. defaults:
  18. _entity_form: linkit_profile.edit
  19. _title_callback: 'Drupal\linkit\Controller\LinkitController::profileTitle'
  20. requirements:
  21. _permission: 'administer linkit profiles'
  22. entity.linkit_profile.delete_form:
  23. path: '/admin/config/content/linkit/manage/{linkit_profile}/delete'
  24. defaults:
  25. _entity_form: linkit_profile.delete
  26. requirements:
  27. _permission: 'administer linkit profiles'
  28. linkit.attributes:
  29. path: '/admin/config/content/linkit/manage/{linkit_profile}/attributes'
  30. defaults:
  31. _form: '\Drupal\linkit\Form\Attribute\OverviewForm'
  32. _title: 'Manage attributes'
  33. requirements:
  34. _permission: 'administer linkit profiles'
  35. linkit.attribute.add:
  36. path: '/admin/config/content/linkit/manage/{linkit_profile}/attributes/add'
  37. defaults:
  38. _form: '\Drupal\linkit\Form\Attribute\AddForm'
  39. _title: 'Add attribute'
  40. requirements:
  41. _permission: 'administer linkit profiles'
  42. linkit.attribute.delete:
  43. path: '/admin/config/content/linkit/manage/{linkit_profile}/attributes/{plugin_instance_id}/delete'
  44. defaults:
  45. _form: '\Drupal\linkit\Form\Attribute\DeleteForm'
  46. requirements:
  47. _permission: 'administer linkit profiles'
  48. linkit.attribute.edit:
  49. path: '/admin/config/content/linkit/manage/{linkit_profile}/attributes/{plugin_instance_id}'
  50. defaults:
  51. _form: '\Drupal\linkit\Form\Attribute\EditForm'
  52. _title_callback: 'Drupal\linkit\Controller\LinkitController::attributeTitle'
  53. requirements:
  54. _permission: 'administer linkit profiles'
  55. linkit.matchers:
  56. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers'
  57. defaults:
  58. _form: '\Drupal\linkit\Form\Matcher\OverviewForm'
  59. _title: 'Manage matchers'
  60. requirements:
  61. _permission: 'administer linkit profiles'
  62. linkit.matcher.add:
  63. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers/add'
  64. defaults:
  65. _form: '\Drupal\linkit\Form\Matcher\AddForm'
  66. _title: 'Add matcher'
  67. requirements:
  68. _permission: 'administer linkit profiles'
  69. linkit.matcher.delete:
  70. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers/{plugin_instance_id}/delete'
  71. defaults:
  72. _form: '\Drupal\linkit\Form\Matcher\DeleteForm'
  73. requirements:
  74. _permission: 'administer linkit profiles'
  75. linkit.matcher.edit:
  76. path: '/admin/config/content/linkit/manage/{linkit_profile}/matchers/{plugin_instance_id}'
  77. defaults:
  78. _form: '\Drupal\linkit\Form\Matcher\EditForm'
  79. _title_callback: 'Drupal\linkit\Controller\LinkitController::matcherTitle'
  80. requirements:
  81. _permission: 'administer linkit profiles'
  82. linkit.linkit_dialog:
  83. path: '/linkit/dialog/linkit/{filter_format}'
  84. defaults:
  85. _form: '\Drupal\linkit\Form\LinkitEditorDialog'
  86. _title: 'Add link'
  87. requirements:
  88. _entity_access: 'filter_format.use'
  89. options:
  90. _theme: ajax_base_page
  91. linkit.autocomplete:
  92. path: '/linkit/autocomplete/{linkit_profile_id}'
  93. defaults:
  94. _controller: '\Drupal\linkit\Controller\AutocompleteController::autocomplete'
  95. requirements:
  96. _access: 'TRUE'
  97. options:
  98. _theme: ajax_base_page