You are here

public function EventBase::__construct in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Events/EventBase.php \Drupal\entity_browser\Events\EventBase::__construct()

Constructs a EntitySelectionEvent object.

Parameters

string $entity_browser_id: Entity browser ID.

string $instance_uuid: Entity browser instance UUID.

2 calls to EventBase::__construct()
AlterEntityBrowserDisplayData::__construct in src/Events/AlterEntityBrowserDisplayData.php
Constructs a EntitySelectionEvent object.
EntitySelectionEvent::__construct in src/Events/EntitySelectionEvent.php
Constructs a EntitySelectionEvent object.
2 methods override EventBase::__construct()
AlterEntityBrowserDisplayData::__construct in src/Events/AlterEntityBrowserDisplayData.php
Constructs a EntitySelectionEvent object.
EntitySelectionEvent::__construct in src/Events/EntitySelectionEvent.php
Constructs a EntitySelectionEvent object.

File

src/Events/EventBase.php, line 34

Class

EventBase
Base implementation of entity browser events.

Namespace

Drupal\entity_browser\Events

Code

public function __construct($entity_browser_id, $instance_uuid) {
  $this->entityBrowserID = $entity_browser_id;
  $this->instanceUUID = $instance_uuid;
}