This project is not covered by Drupal’s security advisory policy.

This module allows other modules define LTI tools via plugins using the IMS 1.3 specification.

Example:

/**
 * Provides an example Canvas Lti plugin.
 *
 * @CanvasLti (
 *   id = "canvas_lti_example,
 *   label = @Translation("Example Plugin"),
 *   description = "@Translation("Example Plugin Description")
 * )
 */
class CanvasLtiExamplePlugin extends CanvasLtiPluginBase {

  function build(): array {
    return [
      '#markup' => 'This is from an LTI tool!']
    ];
  }

}

Once the module is configured and the tool is placed on Canvas:

Canvas LTI screenshot

This module doesn't handle provisioning or authentication per se, but can be used in conjunction with Canvas API to do pretty much whatever you'd like.

Requires:

Supporting organizations: 
AttachmentSize
canvas_lti.png27.15 KB

Project information

  • Created by zerbash on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases