public function EntityUsageEvent::getSourceEntityId in Entity Usage 8.3
Same name and namespace in other branches
- 8.4 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getSourceEntityId()
- 8.2 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getSourceEntityId()
Gets the source entity id.
Return value
null|int The source entity id or NULL.
File
- src/
Events/ EntityUsageEvent.php, line 165
Class
- EntityUsageEvent
- Implementation of Entity Usage events.
Namespace
Drupal\entity_usage\EventsCode
public function getSourceEntityId() {
return $this->sourceEntityId;
}