public function EntityStorageControllerInterface::loadUnchanged

Loads an unchanged entity from the database.

@todo Remove this method once we have a reliable way to retrieve the unchanged entity from the entity object.

Parameters

mixed $id: The ID of the entity to load.

Return value

\Drupal\Core\Entity\EntityInterface The unchanged entity, or FALSE if the entity cannot be loaded.

1 method overrides EntityStorageControllerInterface::loadUnchanged()
EntityStorageControllerBase::loadUnchanged in drupal/core/lib/Drupal/Core/Entity/EntityStorageControllerBase.php
Loads an unchanged entity from the database.

File

drupal/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php, line 55
Contains \Drupal\Core\Entity\EntityStorageControllerInterface.

Class

EntityStorageControllerInterface
Defines a common interface for entity controller classes.

Namespace

Drupal\Core\Entity

Code

public function loadUnchanged($id);