You are here

public function Search::getIndexId in Search API Autocomplete 8

Retrieves the ID of the index this search belongs to.

Return value

string The index ID.

Overrides SearchInterface::getIndexId

2 calls to Search::getIndexId()
Search::preSave in src/Entity/Search.php
Acts on an entity before the presave hook is invoked.
Search::urlRouteParameters in src/Entity/Search.php
Gets an array of placeholders for this entity.

File

src/Entity/Search.php, line 195

Class

Search
Describes the autocomplete settings for a certain search.

Namespace

Drupal\search_api_autocomplete\Entity

Code

public function getIndexId() {
  return $this->index_id;
}