You are here

public function EntityUsageEvent::setReferencingEntityId in Entity Usage 8

Sets the referencing entity id.

Parameters

int $id: The referencing entity id.

File

src/Events/EntityUsageEvent.php, line 105

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function setReferencingEntityId($id) {
  $this->referencingEntityId = $id;
}