You are here

public function ViewUI::getOriginalId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getOriginalId()
  2. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getOriginalId()

Gets the original ID.

Return value

int|string|null The original ID, or NULL if no ID was set or for entity types that do not support renames.

Overrides EntityInterface::getOriginalId

File

core/modules/views_ui/src/ViewUI.php, line 1067

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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