function field_defaults_admin_settings_form in Field Defaults 7.2
Admin settings form for field defaults.
_state
Parameters
$form:
1 string reference to 'field_defaults_admin_settings_form'
- field_defaults_menu in ./
field_defaults.module - Implements hook_menu().
File
- ./
field_defaults.admin.inc, line 14 - field_defaults.admin.inc Field Defaults administration pages.
Code
function field_defaults_admin_settings_form($form, &$form_state) {
$form = array();
$form['field_defaults_retain_updated'] = array(
'#title' => t('Do not update changed time'),
'#type' => 'checkbox',
'#default_value' => variable_get('field_defaults_retain_updated', 1),
'#description' => t('This will retain the original changed date on any entity that supports it.'),
);
return system_settings_form($form);
}