You are here

protected function SearchApiSolrBackend::hasIndexJustSolrDatasources in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::hasIndexJustSolrDatasources()

Returns whether the index only contains "solr_*" datasources.

Parameters

\Drupal\search_api\IndexInterface $index: The Search API index entity.

Return value

bool TRUE if the index only contains "solr_*" datasources, FALSE otherwise.

File

src/Plugin/search_api/backend/SearchApiSolrBackend.php, line 2084

Class

SearchApiSolrBackend
Apache Solr backend for search api.

Namespace

Drupal\search_api_solr\Plugin\search_api\backend

Code

protected function hasIndexJustSolrDatasources(IndexInterface $index) {
  return Utility::hasIndexJustSolrDatasources($index);
}