You are here

public function EntityListDataAlterEvent::__construct in Entity Share 8.2

EntityDataAlterEvent constructor.

Parameters

array $entity_list_data: The entity list data.

\Drupal\entity_share_client\Entity\RemoteInterface $remote: The remote entity.

File

modules/entity_share_client/src/Event/EntityListDataAlterEvent.php, line 39

Class

EntityListDataAlterEvent
Defines an event for altering the entity.

Namespace

Drupal\entity_share_client\Event

Code

public function __construct(array $entity_list_data, RemoteInterface $remote) {
  $this->entityListData = $entity_list_data;
  $this->remote = $remote;
}