geocode/modules/geocode_widget/geocode_widget.module, line 20
- Versions
- 6
geocode_widget_widget_info()
Implementation of hook_widget_info(). Supply a widget for fields from geo_field and other modules.
Code
<?php
function geocode_widget_widget_info() {
return array(
'geocode_geo' => array(
'label' => t('Geocoded value from another field'),
'multiple values' => CONTENT_HANDLE_MODULE,
'field types' => array('geo'),
),
'geocode_text' => array( // TODO hide if irrelevent
'label' => t('Geocoded value from another field'),
'field types' => array('text'),
),
);
}
?> 