function select_or_other_apachesolr_cck_fields_alter in Select (or other) 6
Same name and namespace in other branches
- 6.2 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 573 - The Select (or other) module.
Code
function select_or_other_apachesolr_cck_fields_alter(&$mappings) {
$mappings['text']['select_or_other_buttons'] = array(
'display_callback' => 'apachesolr_cck_text_field_callback',
'indexing_callback' => 'apachesolr_cck_text_indexing_callback',
'index_type' => 'string',
'facets' => TRUE,
);
}