You are here

function jeditable_admin_settings in jEditable inline content editing 6

Same name and namespace in other branches
  1. 7 jeditable.module \jeditable_admin_settings()
1 string reference to 'jeditable_admin_settings'
jeditable_menu in ./jeditable.module
Implementation of hook_menu()

File

./jeditable.module, line 46
jeditable.module

Code

function jeditable_admin_settings() {
  $form['jeditable_create_new_revisions'] = array(
    '#type' => 'checkbox',
    '#title' => t('Create Node Revisions'),
    '#default_value' => variable_get('jeditable_create_new_revisions', 0),
    '#description' => t('If enabled, each time a field is changed a new node revision will be generated. This will generate a very full revision table if jeditable is used extensively, so use with caution'),
  );
  return system_settings_form($form);
}