You are here

public function UnsavedIndexConfiguration::id in Search API 8

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides EntityInterface::id

File

src/UnsavedIndexConfiguration.php, line 753

Class

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

Namespace

Drupal\search_api

Code

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