You are here

public function UnsavedIndexConfiguration::getOriginalId in Search API 8

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

src/UnsavedIndexConfiguration.php, line 965

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

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