protected function SearchApiSolrBackend::hasIndexJustSolrDocumentDatasource in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::hasIndexJustSolrDocumentDatasource()
Returns whether the index only contains "solr_document" datasources.
Parameters
\Drupal\search_api\IndexInterface $index: The Search API index entity.
Return value
bool TRUE if the index only contains "solr_document" datasources, FALSE otherwise.
Deprecated
Use \Drupal\search_api_solr\Utility\Utility::hasIndexJustSolrDocumentDatasource() instead.
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php, line 2102
Class
- SearchApiSolrBackend
- Apache Solr backend for search api.
Namespace
Drupal\search_api_solr\Plugin\search_api\backendCode
protected function hasIndexJustSolrDocumentDatasource(IndexInterface $index) {
return Utility::hasIndexJustSolrDocumentDatasource($index);
}