function theme_location_cck_formatter_combined in Location 7.3
Same name and namespace in other branches
- 7.5 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 519 - Defines location field type.
Code
function theme_location_cck_formatter_combined($variables) {
$element = $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,
));
}