function EntityStorageBase::loadUnchanged
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::loadUnchanged()
- 10 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::loadUnchanged()
- 11.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::loadUnchanged()
Overrides EntityStorageInterface::loadUnchanged
1 call to EntityStorageBase::loadUnchanged()
- EntityStorageBase::doPreSave in core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php - Performs presave entity processing.
1 method overrides EntityStorageBase::loadUnchanged()
- ContentEntityStorageBase::loadUnchanged in core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php - Loads an unchanged entity from the database.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php, line 137
Class
- EntityStorageBase
- A base entity storage class.
Namespace
Drupal\Core\EntityCode
public function loadUnchanged($id) {
$this->resetCache([
$id,
]);
return $this->load($id);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.