function theme_location_cck_formatter_combined in Location 7.5
Same name and namespace in other branches
- 7.3 contrib/location_cck/location_cck.module \theme_location_cck_formatter_combined()
- 7.4 contrib/location_cck/location_cck.module \theme_location_cck_formatter_combined()
Alternate function to return a map with all multiple values in the same map.
File
- contrib/
location_cck/ location_cck.module, line 442 - Defines location field type.
Code
function theme_location_cck_formatter_combined($variables) {
$location = $variables['element'];
$field = content_fields($element['#field_name'], $element['#type_name']);
$locations = $element['#items'];
return theme_location_cck_field_map(array(
'locations' => $locations,
'field' => $field,
));
}