function select_or_other_apachesolr_cck_fields_alter in Select (or other) 6.2
Same name and namespace in other branches
- 6 select_or_other.module \select_or_other_apachesolr_cck_fields_alter()
Implementation of hook_apachesolr_cck_fields_alter().
Integrate with apachesolr.module.
File
- ./
select_or_other.module, line 701 - The Select (or other) module.
Code
function select_or_other_apachesolr_cck_fields_alter(&$mappings) {
$map = array(
'display_callback' => 'apachesolr_cck_text_field_callback',
'indexing_callback' => 'apachesolr_cck_text_indexing_callback',
'index_type' => 'string',
'facets' => TRUE,
);
$mappings['text']['select_or_other_buttons'] =& $map;
$mappings['text']['select_or_other'] =& $map;
$mappings['text']['select_or_other_sort'] =& $map;
}