You are here

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

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

LtiToolProviderRolesEvent constructor.

Parameters

array $context:

UserInterface $user:

File

modules/lti_tool_provider_roles/src/Event/LtiToolProviderRolesEvent.php, line 28

Class

LtiToolProviderRolesEvent

Namespace

Drupal\lti_tool_provider_roles\Event

Code

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