You are here

function tzfield_geofield_field_widget_info in Time Zone Field 7

Implements hook_field_widget_info().

File

tzfield_geofield/tzfield_geofield.module, line 11
Populate a time zone field from Geofield.

Code

function tzfield_geofield_field_widget_info() {
  return array(
    'tzfield_geofield' => array(
      'label' => t('Populate from Geofield'),
      'field types' => array(
        'tzfield',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}