You are here

protected function SiteName::useDomain in Search API Field Map 8

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

Whether to use the canonical value from Domain Source.

Return value

bool

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

File

src/Plugin/search_api/processor/SiteName.php, line 73

Class

SiteName
Adds the site name to the indexed data.

Namespace

Drupal\search_api_field_map\Plugin\search_api\processor

Code

protected function useDomain() {
  return defined('DOMAIN_ADMIN_FIELD');
}