function hook_apachesolr_field_name_map_alter in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr.api.php \hook_apachesolr_field_name_map_alter()
- 6.3 apachesolr.api.php \hook_apachesolr_field_name_map_alter()
Assigns a readable name to your custom solr field
Parameters
array $map:
1 invocation of hook_apachesolr_field_name_map_alter()
- apachesolr_field_name_map in ./
apachesolr.module - Try to map a schema field name to a human-readable description.
File
- ./
apachesolr.api.php, line 174 - Exposed Hooks in 7.x:
Code
function hook_apachesolr_field_name_map_alter(array &$map) {
$map['xs_node'] = t('The full node object');
}