public function SearchApiFederatedSolrField::propertyInfo in Search API Federated Solr 7.2
Same name and namespace in other branches
- 7.3 src/SearchApiFederatedSolrField.php \SearchApiFederatedSolrField::propertyInfo()
- 7 src/SearchApiFederatedSolrField.php \SearchApiFederatedSolrField::propertyInfo()
Implements SearchApiAlterCallbackInterface::propertyInfo().
Overrides SearchApiAbstractAlterCallback::propertyInfo
File
- src/
SearchApiFederatedSolrField.php, line 181
Class
Code
public function propertyInfo() {
$properties = [];
foreach ($this->options['fields'] as $field) {
$properties[$field['machine_name']] = [
'label' => $field['label'],
'description' => t('Federated field.'),
'type' => $field['type'],
];
}
return $properties;
}