lti_tool_provider.routing.yml in LTI Tool Provider 2.x
File
lti_tool_provider.routing.yml
View source
- lti_tool_provider.lti:
- path: /lti
- defaults:
- _controller: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::ltiLaunch'
- options:
- _auth:
- - lti_auth
- requirements:
- _custom_access: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::access'
- lti_tool_provider.lti.return:
- path: /lti/return
- defaults:
- _controller: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::ltiReturn'
- requirements:
- _custom_access: '\Drupal\lti_tool_provider\Controller\LTIToolProviderController::access'
- lti_tool_provider.admin:
- path: admin/config/lti-tool-provider
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: LTI Tool Provider
- requirements:
- _permission: administer lti_tool_provider module
- lti_tool_provider.consumer.add:
- path: /admin/config/lti-tool-provider/consumer/add
- defaults:
- _entity_form: lti_tool_provider_consumer.add
- _title: Add Consumer
- requirements:
- _entity_create_access: lti_tool_provider_consumer
- entity.lti_tool_provider_consumer.collection:
- path: /admin/config/lti-tool-provider/consumer
- defaults:
- _entity_list: lti_tool_provider_consumer
- _title: Consumer List
- requirements:
- _permission: administer lti_tool_provider module
- entity.lti_tool_provider_consumer.canonical:
- path: '/admin/config/lti-tool-provider/consumer/{lti_tool_provider_consumer}/view'
- defaults:
- _entity_view: lti_tool_provider_consumer
- _title: Consumer
- requirements:
- _entity_access: lti_tool_provider_consumer.view
- entity.lti_tool_provider_consumer.edit_form:
- path: '/admin/config/lti-tool-provider/consumer/{lti_tool_provider_consumer}/edit'
- defaults:
- _entity_form: lti_tool_provider_consumer.edit
- _title: Edit Consumer
- requirements:
- _entity_access: lti_tool_provider_consumer.edit
- entity.lti_tool_provider_consumer.delete_form:
- path: '/admin/config/lti-tool-provider/consumer/{lti_tool_provider_consumer}/delete'
- defaults:
- _entity_form: lti_tool_provider_consumer.delete
- _title: Delete Consumer
- requirements:
- _entity_access: lti_tool_provider_consumer.delete
- lti_tool_provider.settings:
- path: '/admin/config/lti-tool-provider/settings'
- defaults:
- _form: 'Drupal\lti_tool_provider\Form\LtiToolProviderSettingsForm'
- _title: 'LTI Settings'
- requirements:
- _permission: 'administer site configuration'