LtiToolProviderLaunchEvent.php in LTI Tool Provider 8
File
src/Event/LtiToolProviderLaunchEvent.php
View source
<?php
namespace Drupal\lti_tool_provider\Event;
use Drupal\lti_tool_provider\LtiToolProviderEvent;
class LtiToolProviderLaunchEvent extends LtiToolProviderEvent {
const EVENT_NAME = 'LTI_TOOL_PROVIDER_LAUNCH_EVENT';
private $context;
public function __construct(array $context) {
$this
->setContext($context);
}
public function getContext() : array {
return $this->context;
}
public function setContext(array $context) {
$this->context = $context;
}
}