You are here

public function UnsavedIndexConfiguration::getConfigTarget in Search API 8

Gets the configuration target identifier for the entity.

Used to supply the correct format for storing a reference targeting this entity in configuration.

Return value

string The configuration target identifier.

Overrides EntityInterface::getConfigTarget

File

src/UnsavedIndexConfiguration.php, line 1015

Class

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

Namespace

Drupal\search_api

Code

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