You are here

function search_api_location_field_verbatim_get in Search API Location 7

Callback to get the data structure of a field. Useful for fields that add metadata for their own data structure.

1 string reference to 'search_api_location_field_verbatim_get'
search_api_location_entity_struct_info in ./search_api_location.module
Defines info for the properties of the struct data structure for location.

File

./search_api_location.module, line 82
Search API Location module author: dolarchik (d.olaresko@madcap.nl)

Code

function search_api_location_field_verbatim_get($item, array $options, $name, $entity_type) {
  return isset($item[$name]) && !empty($item[$name]) ? $item[$name] : NULL;
}