ViewUI::setOriginalId

public ViewUI::setOriginalId($id)

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 1083

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function setOriginalId($id) {
  return $this->storage->setOriginalId($id);
}
doc_Drupal
2016-10-29 09:56:05
Comments
Leave a Comment

Please login to continue.