You are here

public function StreamingExpressionBuilder::_index_id in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_index_id()
  2. 4.x src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_index_id()

Returns the ID of the current index.

Return value

string The index ID.

File

src/Utility/StreamingExpressionBuilder.php, line 523

Class

StreamingExpressionBuilder
Provides methods for creating streaming expressions targeting a given index.

Namespace

Drupal\search_api_solr\Utility

Code

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