geo/modules/geo_field/geo_field.module, line 229
- 6
geo_content_is_empty($item, $field)
Implementation of hook_content_is_empty().
It's named after the field type (geo), not the module (geo_data).
- _geo_field_save in geo/modules/geo_field/geo_field.module
- Save function for Geo fields. Because the storage function includes some
calls to database functions, they include quotes that are escaped by the
default query substitutions. Save the value manually instead.
- _geo_field_save in geo/modules/geo_field/geo_field.module
- Save function for Geo fields. Because the storage function includes some
calls to database functions, they include quotes that are escaped by the
default query substitutions. Save the value manually instead.
Code
<?php
function geo_content_is_empty($item, $field) {
return empty($item['wkt']);
}
?>