You are here

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

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

Whether to use the site name from Domain Access.

Return value

bool

2 calls to SearchApiFederatedSolrSiteName::useDomainAccess()
SearchApiFederatedSolrSiteName::alterItems in src/SearchApiFederatedSolrSiteName.php
Alter items before indexing.
SearchApiFederatedSolrSiteName::configurationForm in src/SearchApiFederatedSolrSiteName.php
Implements SearchApiAlterCallbackInterface::configurationForm().

File

src/SearchApiFederatedSolrSiteName.php, line 108

Class

SearchApiFederatedSolrSiteName
Class SearchApiFederatedSolrSiteName Provides a Search API index data alteration that adds a "Site Name" property to each indexed item.

Code

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