protected function SearchApiFederatedSolrCanonicalUrl::useDomainAccess in Search API Federated Solr 7
Same name and namespace in other branches
- 7.3 src/SearchApiFederatedSolrCanonicalUrl.php \SearchApiFederatedSolrCanonicalUrl::useDomainAccess()
- 7.2 src/SearchApiFederatedSolrCanonicalUrl.php \SearchApiFederatedSolrCanonicalUrl::useDomainAccess()
Whether to use the canonical value from Domain Source.
Return value
bool
1 call to SearchApiFederatedSolrCanonicalUrl::useDomainAccess()
- SearchApiFederatedSolrCanonicalUrl::alterItems in src/
SearchApiFederatedSolrCanonicalUrl.php - Alter items before indexing.
File
- src/
SearchApiFederatedSolrCanonicalUrl.php, line 90
Class
- SearchApiFederatedSolrCanonicalUrl
- Class SearchApiFederatedSolrCanonicalUrl Provides a Search API index data alteration that indicates the preferred URL content is available on to each indexed item.
Code
protected function useDomainAccess() {
return defined('DOMAIN_SOURCE_USE_ACTIVE');
}