function ViewUI::getOriginal
Returns the original unchanged entity.
If the entity being saved was not the default revision then the original entity is that specific revision to allow for reliable comparisons.
This is only available while an entity is being saved.
Return value
static|null The original entity.
Overrides EntityInterface::getOriginal
File
-
core/
modules/ views_ui/ src/ ViewUI.php, line 1397
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function getOriginal() : ?static {
return $this->storage
->getOriginal();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.