You are here

public function ContentEntityStorageTrait::loadDeleted in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Storage/ContentEntityStorageTrait.php \Drupal\multiversion\Entity\Storage\ContentEntityStorageTrait::loadDeleted()
1 call to ContentEntityStorageTrait::loadDeleted()
ContentEntityStorageTrait::loadUnchanged in src/Entity/Storage/ContentEntityStorageTrait.php

File

src/Entity/Storage/ContentEntityStorageTrait.php, line 142

Class

ContentEntityStorageTrait

Namespace

Drupal\multiversion\Entity\Storage

Code

public function loadDeleted($id) {
  $entities = $this
    ->loadMultipleDeleted([
    $id,
  ]);
  return isset($entities[$id]) ? $entities[$id] : NULL;
}