You are here

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

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

Implements SearchApiAlterCallbackInterface::propertyInfo().

Overrides SearchApiAbstractAlterCallback::propertyInfo

File

src/SearchApiFederatedSolrSiteName.php, line 24

Class

SearchApiFederatedSolrSiteName
Class SearchApiFederatedSolrSiteName Provides a Search API index data alteration that adds a "Site Name" property to each indexed item.

Code

public function propertyInfo() {
  return array(
    'site_name' => array(
      'label' => t('Site Name'),
      'description' => t('Adds the site name to the indexed data.'),
      'type' => 'list<string>',
    ),
  );
}