You are here

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

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

LtiToolProviderProvisionSyncProvisionedEntityEvent constructor.

Parameters

array $context:

EntityInterface $entity:

File

modules/lti_tool_provider_provision/src/Event/LtiToolProviderProvisionSyncProvisionedEntityEvent.php, line 28

Class

LtiToolProviderProvisionSyncProvisionedEntityEvent

Namespace

Drupal\lti_tool_provider_provision\Event

Code

public function __construct(array $context, EntityInterface $entity) {
  $this
    ->setContext($context);
  $this
    ->setEntity($entity);
}