You are here

public function SearchApiFederatedSolrRemap::propertyInfo in Search API Federated Solr 7

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

Implements SearchApiAlterCallbackInterface::propertyInfo().

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

src/SearchApiFederatedSolrRemap.php, line 16

Class

SearchApiFederatedSolrRemap
Class SearchApiFederatedSolrRemap Provides a Search API index data alteration that remaps property names for indexed items.

Code

public function propertyInfo() {
  if (is_array($this->options['properties'])) {
    return $this->options['properties'];
  }
  return [];
}