public function ViewUI::setOriginalId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::setOriginalId()
- 10 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 1091
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function setOriginalId($id) {
return $this->storage
->setOriginalId($id);
}