function user_revision_admin_settings in User Revision 7
Same name and namespace in other branches
- 7.2 user_revision.admin.inc \user_revision_admin_settings()
Form builder; Configure user revision settings for this site.
1 string reference to 'user_revision_admin_settings'
- user_revision_menu in ./
user_revision.module - Implements hook_menu().
File
- ./
user_revision.admin.inc, line 10 - Admin settings for user revision.
Code
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);
}