You are here

function apachesolr_multilingual_entityreference_indexing_callback in Apache Solr Multilingual 7

Indexing callback for entityreference fields.

Parameters

object $entity:

string $field_name:

string $index_key:

array $field_info:

Return value

array $fields

1 string reference to 'apachesolr_multilingual_entityreference_indexing_callback'
apachesolr_multilingual_apachesolr_field_mappings_alter in ./apachesolr_multilingual.module
Implements hook_apachesolr_field_mappings_alter()

File

./apachesolr_multilingual.module, line 1132
Multilingual search using Apache Solr.

Code

function apachesolr_multilingual_entityreference_indexing_callback($entity, $field_name, $index_key, $field_info) {
  module_load_include('index.inc', 'apachesolr_multilingual');
  return apachesolr_multilingual_entityreference_indexing_callback_implementation($entity, $field_name, $index_key, $field_info);
}