You are here

lti_tool_provider.routing.yml in LTI Tool Provider 8

Same filename and directory in other branches
  1. 2.x lti_tool_provider.routing.yml

File

lti_tool_provider.routing.yml
View source
  1. lti_tool_provider.lti:
  2. path: /lti
  3. defaults:
  4. _controller: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::ltiLaunch'
  5. options:
  6. _auth:
  7. - lti_auth
  8. requirements:
  9. _custom_access: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::access'
  10. lti_tool_provider.lti.return:
  11. path: /lti/return
  12. defaults:
  13. _controller: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::ltiReturn'
  14. requirements:
  15. _custom_access: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::access'
  16. lti_tool_provider.admin:
  17. path: admin/config/lti-tool-provider
  18. defaults:
  19. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  20. _title: LTI Tool Provider
  21. requirements:
  22. _permission: administer lti_tool_provider module
  23. lti_tool_provider.consumer.add:
  24. path: /admin/config/lti-tool-provider/consumer/add
  25. defaults:
  26. _entity_form: lti_tool_provider_consumer.add
  27. _title: Add Consumer
  28. requirements:
  29. _entity_create_access: lti_tool_provider_consumer
  30. entity.lti_tool_provider_consumer.collection:
  31. path: /admin/config/lti-tool-provider/consumer
  32. defaults:
  33. _entity_list: lti_tool_provider_consumer
  34. _title: Consumer List
  35. requirements:
  36. _permission: administer lti_tool_provider module
  37. entity.lti_tool_provider_consumer.canonical:
  38. path: '/admin/config/lti-tool-provider/consumer/{lti_tool_provider_consumer}/view'
  39. defaults:
  40. _entity_view: lti_tool_provider_consumer
  41. _title: Consumer
  42. requirements:
  43. _entity_access: lti_tool_provider_consumer.view
  44. entity.lti_tool_provider_consumer.edit_form:
  45. path: '/admin/config/lti-tool-provider/consumer/{lti_tool_provider_consumer}/edit'
  46. defaults:
  47. _entity_form: lti_tool_provider_consumer.edit
  48. _title: Edit Consumer
  49. requirements:
  50. _entity_access: lti_tool_provider_consumer.edit
  51. entity.lti_tool_provider_consumer.delete_form:
  52. path: '/admin/config/lti-tool-provider/consumer/{lti_tool_provider_consumer}/delete'
  53. defaults:
  54. _entity_form: lti_tool_provider_consumer.delete
  55. _title: Delete Consumer
  56. requirements:
  57. _entity_access: lti_tool_provider_consumer.delete
  58. lti_tool_provider.settings:
  59. path: '/admin/config/lti-tool-provider/settings'
  60. defaults:
  61. _form: 'Drupal\lti_tool_provider\Form\LtiToolProviderSettingsForm'
  62. _title: 'LTI Settings'
  63. requirements:
  64. _permission: 'administer site configuration'