function search_api_location_entity_struct_info in Search API Location 7
Defines info for the properties of the struct data structure for location.
1 call to search_api_location_entity_struct_info()
File
- ./
search_api_location.module, line 30 - Search API Location module author: dolarchik (d.olaresko@madcap.nl)
Code
function search_api_location_entity_struct_info() {
$result = array();
$location_key_map = _search_api_location_key_map();
foreach ($location_key_map as $key => $value) {
$result[$key] = array(
'type' => $value['type'],
'label' => $value['label'],
'sanitized' => TRUE,
'getter callback' => 'search_api_location_field_verbatim_get',
);
}
return $result;
}