You are here

public function ViewUI::setOriginalId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 1121
Contains \Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function setOriginalId($id) {
  return $this->storage
    ->setOriginalId($id);
}