public function ContentEntityStorageTrait::loadUnchanged in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Storage/ContentEntityStorageTrait.php \Drupal\multiversion\Entity\Storage\ContentEntityStorageTrait::loadUnchanged()
1 call to ContentEntityStorageTrait::loadUnchanged()
- ContentEntityStorageTrait::doPreSave in src/
Entity/ Storage/ ContentEntityStorageTrait.php
File
- src/
Entity/ Storage/ ContentEntityStorageTrait.php, line 113
Class
Namespace
Drupal\multiversion\Entity\StorageCode
public function loadUnchanged($id) {
$this
->resetCache([
$id,
]);
return $this
->load($id) ?: $this
->loadDeleted($id);
}