You are here

public function SearchApiFederatedSolrTerms::propertyInfo in Search API Federated Solr 7.3

Same name and namespace in other branches
  1. 7 src/SearchApiFederatedSolrTerms.php \SearchApiFederatedSolrTerms::propertyInfo()
  2. 7.2 src/SearchApiFederatedSolrTerms.php \SearchApiFederatedSolrTerms::propertyInfo()

Implements SearchApiAlterCallbackInterface::propertyInfo().

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

src/SearchApiFederatedSolrTerms.php, line 18

Class

SearchApiFederatedSolrTerms

Code

public function propertyInfo() {
  return array(
    'federated_terms' => array(
      'label' => t('Federated Term'),
      'description' => t('By adding this field to your search index configuration, you have enabled the federated terms processor to run when new items are indexed.  Next, add a "Federated Terms" field to any taxonomy vocabulary whose terms should be mapped to a "federated" term (this helps map terms across vocabularies and sites to a single "federated" term).  Then, edit terms in those vocabularies to add the federated term destination value (i.e. "Conditions>Blood Disorders").  Once that tagged content gets indexed, it will have "federated_terms" populated with any matching federated term destination values.'),
      'type' => 'list<string>',
      'cardinality' => -1,
    ),
  );
}