geo/modules/geo_field/geo_field.module, line 10
- Versions
- 6
geo_field_elements()
Implementation of FAPI hook_elements().
Code
<?php
function geo_field_elements() {
return array(
'geo_field_wkt' => array(
'#input' => TRUE,
'#columns' => array('wkt'),
'#delta' => 0,
'#process' => array('geo_field_wkt_process'),
),
'geo_field_latlon' => array(
'#input' => TRUE,
'#columns' => array('lat', 'lon', 'wkt'),
'#delta' => 0,
'#process' => array('geo_field_latlon_process'),
),
);
}
?> 