public function SearchApiFederatedSolrUrls::propertyInfo in Search API Federated Solr 7
Same name and namespace in other branches
- 7.3 src/SearchApiFederatedSolrUrls.php \SearchApiFederatedSolrUrls::propertyInfo()
- 7.2 src/SearchApiFederatedSolrUrls.php \SearchApiFederatedSolrUrls::propertyInfo()
Implements SearchApiAlterCallbackInterface::propertyInfo().
Overrides SearchApiAbstractAlterCallback::propertyInfo
File
- src/
SearchApiFederatedSolrUrls.php, line 23
Class
- SearchApiFederatedSolrUrls
- Class SearchApiFederatedSolrUrls Provides a Search API index data alteration that adds the sites that the content is available on to each indexed item.
Code
public function propertyInfo() {
return [
'urls' => [
'label' => t('URLs'),
'description' => t('URLs pointing to this node on all sites containing'),
'type' => 'list<uri>',
'cardinality' => -1,
],
];
}