You are here

public function EntityUsageEvent::getTargetEntityId in Entity Usage 8

Same name and namespace in other branches
  1. 8.4 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getTargetEntityId()
  2. 8.2 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getTargetEntityId()
  3. 8.3 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getTargetEntityId()

Gets the target entity id.

Return value

null|string The target entity id or NULL.

File

src/Events/EntityUsageEvent.php, line 145

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function getTargetEntityId() {
  return $this->targetEntityId;
}