You are here

public function UnsavedIndexConfiguration::getFieldRenames in Search API 8

Retrieves all field IDs that changed compared to the index's saved version.

Return value

string[] An associative array mapping old field IDs to the new ones.

Overrides IndexInterface::getFieldRenames

File

src/UnsavedIndexConfiguration.php, line 505

Class

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

Namespace

Drupal\search_api

Code

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