You are here

public function LtiToolProviderEvent::cancel in LTI Tool Provider 8

Same name and namespace in other branches
  1. 2.x src/LtiToolProviderEvent.php \Drupal\lti_tool_provider\LtiToolProviderEvent::cancel()

File

src/LtiToolProviderEvent.php, line 33

Class

LtiToolProviderEvent

Namespace

Drupal\lti_tool_provider

Code

public function cancel(string $message = 'Launch has been cancelled.') : void {
  $this->cancelled = true;
  $this->message = $message;
  $this
    ->stopPropagation();
}