function tzfield_field_settings_form in Time Zone Field 7
Implements hook_field_settings_form().
File
- ./
tzfield.module, line 40 - Defines a time zone field type.
Code
function tzfield_field_settings_form($field, $instance, $has_data) {
$form['exclude'] = array(
'#title' => t('Time zones to be excluded from the option list'),
'#type' => 'select',
'#options' => tzfield_identifiers_list(),
'#default_value' => $field['settings']['exclude'],
'#multiple' => TRUE,
'#size' => 20,
'#required' => FALSE,
'#description' => t('Any time zones selected here will be excluded from the allowed values.'),
);
return $form;
}