You are here

user_revision.admin.inc in User Revision 7

Same filename and directory in other branches
  1. 7.2 user_revision.admin.inc

Admin settings for user revision.

File

user_revision.admin.inc
View source
<?php

/**
 * @file
 * Admin settings for user revision.
 */

/**
 * Form builder; Configure user revision settings for this site.
 */
function user_revision_admin_settings() {
  $form['user_revision_by_default'] = array(
    '#type' => 'checkbox',
    '#title' => t('Use revisions by default'),
    '#default_value' => variable_get('user_revision_by_default', 1),
    '#description' => t('If checked every save will save a new revision.'),
  );
  return system_settings_form($form);
}

Functions

Namesort descending Description
user_revision_admin_settings Form builder; Configure user revision settings for this site.