You are here

function apachesolr_default_node_facet_info in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 apachesolr.module \apachesolr_default_node_facet_info()
  2. 7 apachesolr.module \apachesolr_default_node_facet_info()

Returns an array of facets for node fields and attributes.

Return value

An array of node facets.

1 call to apachesolr_default_node_facet_info()
apachesolr_facetapi_facet_info in ./apachesolr.module
Implements hook_facetapi_facet_info(). Currently it only supports the node entity type

File

./apachesolr.module, line 360
Integration with the Apache Solr search application.

Code

function apachesolr_default_node_facet_info() {
  return array_merge(apachesolr_common_node_facets(), apachesolr_entity_field_facets('node'));
}