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