public function ViewUI::setOriginalId in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::setOriginalId()
Sets the original ID.
Parameters
int|string|null $id: The new ID to set as original ID. If the entity supports renames, setting NULL will prevent an update from being considered a rename.
Return value
$this
Overrides EntityInterface::setOriginalId
File
- core/
modules/ views_ui/ src/ ViewUI.php, line 1074
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function setOriginalId($id) {
return $this->storage
->setOriginalId($id);
}