You are here

public function LtiToolProviderProvisionCreateProvisionedEntityEvent::__construct in LTI Tool Provider 8

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

LtiToolProviderProvisionCreateProvisionedEntityEvent constructor.

Parameters

array $context:

EntityInterface $entity:

File

modules/lti_tool_provider_provision/src/Event/LtiToolProviderProvisionCreateProvisionedEntityEvent.php, line 27

Class

LtiToolProviderProvisionCreateProvisionedEntityEvent

Namespace

Drupal\lti_tool_provider_provision\Event

Code

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