function theme_location_cck_field_all in Location 7.5
Same name and namespace in other branches
- 7.3 contrib/location_cck/location_cck.module \theme_location_cck_field_all()
Return both an address and a map for an individual item.
File
- contrib/
location_cck/ location_cck.module, line 432 - Defines location field type.
Code
function theme_location_cck_field_all($variables) {
$content = theme('location', array(
'location' => $variables['location'],
'hide' => $variables['hide'],
));
$content .= theme_location_cck_field_map(array(
'locations' => array(
$variables['location'],
),
'field' => $variables['field'],
'instance' => $variables['instance'],
));
return $content;
}