You are here

drupalchat.routing.yml in DrupalChat 8

File

drupalchat.routing.yml
View source
  1. drupalchat.drupalchat_config:
  2. path: '/admin/config/drupalchat'
  3. defaults:
  4. _title: 'DrupalChat'
  5. requirements:
  6. _permission: 'access administration pages'
  7. drupalchat.settings_form:
  8. path: '/admin/config/drupalchat/configuration'
  9. defaults:
  10. _form: '\Drupal\drupalchat\Form\drupalchatSettingsForm'
  11. _title: 'DrupalChat Configuration'
  12. requirements:
  13. _permission: 'access administration pages'
  14. options:
  15. _admin_route: TRUE
  16. drupalchat.module.settings:
  17. path: '/admin/config/drupalchat/configuration/module-settings'
  18. defaults:
  19. _form: '\Drupal\drupalchat\Form\drupalchatSettingsForm'
  20. _title: 'Module Settings'
  21. requirements:
  22. _permission: 'access administration pages'
  23. options:
  24. _admin_route: TRUE
  25. drupalchat.app.settings:
  26. path: '/admin/config/drupalchat/configuration/app-settings'
  27. defaults:
  28. _controller: '\Drupal\drupalchat\Controller\drupalchatController::drupalchat_app_settings'
  29. _title: 'DrupalChat Configuration'
  30. requirements:
  31. _permission: 'access administration pages'
  32. options:
  33. _admin_route: TRUE
  34. drupalchat.auth:
  35. path: '/drupalchat/auth'
  36. defaults:
  37. _controller: '\Drupal\drupalchat\Controller\drupalchatController::ex_auth'
  38. requirements:
  39. _permission: 'access drupalchat'
  40. drupalchat.poll:
  41. path: '/drupalchat/poll'
  42. defaults:
  43. _controller: '\Drupal\drupalchat\Controller\drupalchatController::drupalchat_poll'
  44. requirements:
  45. _permission: 'access drupalchat'
  46. drupalchat.send:
  47. path: '/drupalchat/send'
  48. defaults:
  49. _controller: '\Drupal\drupalchat\Controller\drupalchatController::drupalchat_send'
  50. requirements:
  51. _permission: 'access drupalchat'
  52. drupalchat.messages.inbox:
  53. path: '/drupalchat/message/inbox'
  54. # defaults:
  55. # _controller: '\Drupal\drupalchat\Controller\drupalchatController::drupalchat_send'
  56. requirements:
  57. _permission: 'access drupalchat'
  58. drupalchat.channel.add:
  59. path: '/drupalchat/channel/add'
  60. # defaults:
  61. # _controller: '\Drupal\drupalchat\Controller\drupalchatController::drupalchat_send'
  62. requirements:
  63. _permission: 'access drupalchat'
  64. drupalchat.send-offline-message:
  65. path: '/drupalchat/send-offline-message'
  66. requirements:
  67. _permission: 'access drupalchat'
  68. drupalchat.change-guest-name:
  69. path: '/drupalchat/change-guest-name'
  70. requirements:
  71. _permission: 'access drupalchat'
  72. drupalchat.thread-history:
  73. path: '/drupalchat/thread-history'
  74. defaults:
  75. _controller: '\Drupal\drupalchat\Controller\drupalchatController::drupalchat_get_thread_history'
  76. requirements:
  77. _permission: 'access drupalchat'
  78. drupalchat.status:
  79. path: '/drupalchat/status'
  80. requirements:
  81. _permission: 'access drupalchat'
  82. drupalchat.ur-autocomplete:
  83. path: '/drupalchat/ur-autocomplete'
  84. defaults:
  85. _controller: '\Drupal\drupalchat\Controller\drupalchatController::_drupalchat_ur_autocomplete'
  86. requirements:
  87. _permission: 'access drupalchat'
  88. drupalchat.user-autocomplete:
  89. path: '/drupalchat/user-autocomplete'
  90. defaults:
  91. _controller: '\Drupal\drupalchat\Controller\drupalchatController::_drupalchat_ur_autocomplete'
  92. requirements:
  93. _permission: 'access drupalchat'
  94. drupalchat.user:
  95. path: /'user'
  96. requirements:
  97. _permission: 'access drupalchat'