You are here

public function LtiToolProviderProvisionUserEvent::__construct in LTI Tool Provider 2.x

Same name and namespace in other branches
  1. 8 src/Event/LtiToolProviderProvisionUserEvent.php \Drupal\lti_tool_provider\Event\LtiToolProviderProvisionUserEvent::__construct()

LtiToolProviderProvisionUserEvent constructor.

Parameters

array $context:

UserInterface $user:

File

src/Event/LtiToolProviderProvisionUserEvent.php, line 28

Class

LtiToolProviderProvisionUserEvent

Namespace

Drupal\lti_tool_provider\Event

Code

public function __construct(array $context, UserInterface $user) {
  $this
    ->setContext($context);
  $this
    ->setUser($user);
}