You are here

protected function ElasticsearchViewsHandlerTrait::getIndex in Elasticsearch Connector 8.2

Same name and namespace in other branches
  1. 8.7 modules/elasticsearch_connector_views/src/Plugin/views/ElasticsearchViewsHandlerTrait.php \Drupal\elasticsearch_connector_views\Plugin\views\ElasticsearchViewsHandlerTrait::getIndex()
  2. 8.5 modules/elasticsearch_connector_views/src/Plugin/views/ElasticsearchViewsHandlerTrait.php \Drupal\elasticsearch_connector_views\Plugin\views\ElasticsearchViewsHandlerTrait::getIndex()
  3. 8.6 modules/elasticsearch_connector_views/src/Plugin/views/ElasticsearchViewsHandlerTrait.php \Drupal\elasticsearch_connector_views\Plugin\views\ElasticsearchViewsHandlerTrait::getIndex()

Returns the active search index.

Return value

string The index to use with this filter, or NULL if none could be loaded.

File

modules/elasticsearch_connector_views/src/Plugin/views/ElasticsearchViewsHandlerTrait.php, line 45

Class

ElasticsearchViewsHandlerTrait
Provides a trait to use for Search API Views handlers.

Namespace

Drupal\elasticsearch_connector_views\Plugin\views

Code

protected function getIndex() {

  // TODO: Implement.
  return NULL;
}