You are here

function dimension_field_settings_form in Dimension 7

Implements hook_field_settings_form().

File

./dimension.module, line 100

Code

function dimension_field_settings_form($field, $instance, $has_data) {
  $settings = $field['settings'];
  $form['mode'] = array(
    '#type' => 'select',
    '#title' => t('Dimensions'),
    '#options' => dimension_get_modes_select(),
    '#default_value' => $settings['mode'],
  );
  return $form;
}