public function EntityUsageEvent::setSourceEntityId in Entity Usage 8.3
Same name and namespace in other branches
- 8.4 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::setSourceEntityId()
- 8.2 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::setSourceEntityId()
Sets the source entity id.
Parameters
int $id: The source entity id.
File
- src/
Events/ EntityUsageEvent.php, line 105
Class
- EntityUsageEvent
- Implementation of Entity Usage events.
Namespace
Drupal\entity_usage\EventsCode
public function setSourceEntityId($id) {
$this->sourceEntityId = $id;
}