public function LtiToolProviderEvent::cancel in LTI Tool Provider 2.x
Same name and namespace in other branches
- 8 src/LtiToolProviderEvent.php \Drupal\lti_tool_provider\LtiToolProviderEvent::cancel()
File
- src/
LtiToolProviderEvent.php, line 56
Class
Namespace
Drupal\lti_tool_providerCode
public function cancel(string $message = 'Launch has been cancelled.') : void {
$this->cancelled = TRUE;
$this->message = $message;
$this
->stopPropagation();
}