You are here

function tablefield_admin_settings_form in TableField 7.3

Same name and namespace in other branches
  1. 7.2 tablefield.module \tablefield_admin_settings_form()

Menu callback to prepare administration configuration form.

1 string reference to 'tablefield_admin_settings_form'
tablefield_menu in ./tablefield.module
Implements hook_menu().

File

./tablefield.module, line 46
Provides a set of fields that can be used to store tabular data with a node.

Code

function tablefield_admin_settings_form() {
  $form = array();
  $form['tablefield_csv_separator'] = array(
    '#type' => 'textfield',
    '#title' => t('CSV separator'),
    '#size' => 1,
    '#maxlength' => 1,
    '#default_value' => variable_get('tablefield_csv_separator', ','),
    '#description' => t('Select the separator for the CSV import/export.'),
  );
  return system_settings_form($form);
}