function search_api_location_entity_property_info_alter in Search API Location 7
Implements hook_entity_property_info_alter()
See also
entity_metadata_entity_property_info_alter()
File
- ./
search_api_location.module, line 16 - Search API Location module author: dolarchik (d.olaresko@madcap.nl)
Code
function search_api_location_entity_property_info_alter(&$info) {
// Move the location property to the node by default, as its usually there this
// makes dealing with it more convenient.
$info['node']['properties']['location'] = array(
'type' => 'struct',
'label' => t('The location'),
'property info' => search_api_location_entity_struct_info(),
'field' => TRUE,
);
}