You are here

protected function Urls::useDomainAccess in Search API Field Map 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/search_api/processor/Urls.php \Drupal\search_api_field_map\Plugin\search_api\processor\Urls::useDomainAccess()
  2. 4.x src/Plugin/search_api/processor/Urls.php \Drupal\search_api_field_map\Plugin\search_api\processor\Urls::useDomainAccess()

Whether to use the canonical value from Domain Source.

Return value

bool

1 call to Urls::useDomainAccess()
Urls::addFieldValues in src/Plugin/search_api/processor/Urls.php
Adds the values of properties defined by this processor to the item.

File

src/Plugin/search_api/processor/Urls.php, line 83

Class

Urls
Adds the Urls to the indexed data.

Namespace

Drupal\search_api_field_map\Plugin\search_api\processor

Code

protected function useDomainAccess() {
  return defined('DOMAIN_ACCESS_FIELD');
}