public function SearchApiFacetSourceInterface::getIndex in Facets 8
Returns the search_api index.
Return value
\Drupal\search_api\IndexInterface The Search API index.
2 methods override SearchApiFacetSourceInterface::getIndex()
- SearchApiBaseFacetSource::getIndex in src/
Plugin/ facets/ facet_source/ SearchApiBaseFacetSource.php - Returns the search_api index.
- SearchApiDisplay::getIndex in src/
Plugin/ facets/ facet_source/ SearchApiDisplay.php - Retrieves the Search API index for this facet source.
File
- src/
FacetSource/ SearchApiFacetSourceInterface.php, line 16
Class
- SearchApiFacetSourceInterface
- A facet source that uses Search API as a base.
Namespace
Drupal\facets\FacetSourceCode
public function getIndex();