You are here

protected function SearchApiFederatedSolrUrls::useDomainAccess in Search API Federated Solr 7.3

Same name and namespace in other branches
  1. 7 src/SearchApiFederatedSolrUrls.php \SearchApiFederatedSolrUrls::useDomainAccess()
  2. 7.2 src/SearchApiFederatedSolrUrls.php \SearchApiFederatedSolrUrls::useDomainAccess()

Whether to use the site name from Domain Access.

Return value

bool

1 call to SearchApiFederatedSolrUrls::useDomainAccess()
SearchApiFederatedSolrUrls::alterItems in src/SearchApiFederatedSolrUrls.php
Alter items before indexing.

File

src/SearchApiFederatedSolrUrls.php, line 89

Class

SearchApiFederatedSolrUrls
Class SearchApiFederatedSolrUrls Provides a Search API index data alteration that adds the sites that the content is available on to each indexed item.

Code

protected function useDomainAccess() {
  return function_exists('domain_get_content_urls');
}