protected function CanonicalUrl::useDomainAccess in Search API Field Map 8
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/processor/CanonicalUrl.php \Drupal\search_api_field_map\Plugin\search_api\processor\CanonicalUrl::useDomainAccess()
- 4.x src/Plugin/search_api/processor/CanonicalUrl.php \Drupal\search_api_field_map\Plugin\search_api\processor\CanonicalUrl::useDomainAccess()
Whether to use the canonical value from Domain Source.
Return value
bool
1 call to CanonicalUrl::useDomainAccess()
- CanonicalUrl::addFieldValues in src/
Plugin/ search_api/ processor/ CanonicalUrl.php - Adds the values of properties defined by this processor to the item.
File
- src/
Plugin/ search_api/ processor/ CanonicalUrl.php, line 83
Class
- CanonicalUrl
- Adds the Urls to the indexed data.
Namespace
Drupal\search_api_field_map\Plugin\search_api\processorCode
protected function useDomainAccess() {
return defined('DOMAIN_SOURCE_FIELD');
}