You are here

public function EntityUsageEvent::setReferencingEntityType in Entity Usage 8

Sets the referencing entity type.

Parameters

string $type: The referencing entity type.

File

src/Events/EntityUsageEvent.php, line 115

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function setReferencingEntityType($type) {
  $this->referencingEntityType = $type;
}