protected function SearchApiFederatedSolrSiteName::useDomainAccess in Search API Federated Solr 7
Same name and namespace in other branches
- 7.3 src/SearchApiFederatedSolrSiteName.php \SearchApiFederatedSolrSiteName::useDomainAccess()
- 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 110
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');
}