You are here

mentions.routing.yml in Open Social 8.5

modules/custom/mentions/mentions.routing.yml

File

modules/custom/mentions/mentions.routing.yml
View source
  1. entity.mentions_type.list:
  2. path: '/admin/structure/mentions'
  3. defaults:
  4. _entity_list: 'mentions_type'
  5. _title: 'Mentions Type'
  6. requirements:
  7. _permission: 'administer mentions'
  8. entity.mentions_type.add_form:
  9. path: '/admin/structure/mentions/add'
  10. defaults:
  11. _title: 'Mentions Type'
  12. _entity_form: 'mentions_type.add'
  13. requirements:
  14. _permission: 'administer mentions'
  15. entity.mentions_type.edit_form:
  16. path: '/admin/structure/mentions/{mentions_type}/edit'
  17. defaults:
  18. _entity_form: 'mentions_type.edit'
  19. _title: 'Edit Mentions Type'
  20. requirements:
  21. _permission: 'administer site configuration'
  22. options:
  23. parameters:
  24. mentions_type:
  25. type: entity:mentions_type
  26. entity.mentions_type.delete_form:
  27. path: '/admin/structure/mentions/{mentions_type}/delete'
  28. defaults:
  29. _entity_form: 'mentions_type.delete'
  30. _title: 'Delete Mentions Type'
  31. requirements:
  32. _permission: 'administer site configuration'
  33. options:
  34. parameters:
  35. mentions_type:
  36. type: entity:mentions_type
  37. mentions.mentions_type_form:
  38. path: '/admin/structure/mentions/mentionstype'
  39. defaults:
  40. _form: '\Drupal\mentions\Form\MentionsTypeForm'
  41. _title: 'MentionsTypeForm'
  42. requirements:
  43. _permission: 'administer site configuration'
  44. entity.mentions.canonical:
  45. path: '/mentions/{mentions}'
  46. defaults:
  47. _title: 'Mention'
  48. _controller: '\Drupal\mentions\MentionsController::mentionPermalink'
  49. requirements:
  50. _permission: 'access mentions'
  51. mentions: \d+
  52. mentions.settings:
  53. path: 'admin/config/people/mentions'
  54. defaults:
  55. _form: '\Drupal\mentions\Form\MentionsSettingsForm'
  56. _title: 'Mentions'
  57. requirements:
  58. _permission: 'administer mentions'