function google_map_field_get_fields in Google Map Field 7.2
Helper function to return all fields created on the system of the google map field type.
1 call to google_map_field_get_fields()
- google_map_field_update_7001 in ./
google_map_field.install - Change precision of LAT,LON fields to prevent coords being truncated.
File
- ./
google_map_field.module, line 428 - This file defines all the necessary hooks and functions to create a Google Map Field field type for inserting maps directly into content items (node, entities etc).
Code
function google_map_field_get_fields() {
$types = array_keys(google_map_field_field_info());
$fields = array();
foreach (field_info_fields() as $field) {
if (in_array($field['type'], $types)) {
$fields[] = $field;
}
}
return $fields;
}