You are here

protected function SiteNameProperty::useDomain in Search API Field Map 8.3

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

Whether to use the values from Domain.

Return value

bool

1 call to SiteNameProperty::useDomain()
SiteNameProperty::buildConfigurationForm in src/Plugin/search_api/processor/Property/SiteNameProperty.php
Constructs a configuration form for a field based on this property.

File

src/Plugin/search_api/processor/Property/SiteNameProperty.php, line 83

Class

SiteNameProperty
Defines a "site name" property.

Namespace

Drupal\search_api_field_map\Plugin\search_api\processor\Property

Code

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