function filefield_paths_settings_form in File (Field) Paths 7
_state
Parameters
$form:
Return value
mixed
1 string reference to 'filefield_paths_settings_form'
- filefield_paths_menu in ./
filefield_paths.module - Implements hook_menu().
File
- ./
filefield_paths.admin.inc, line 14 - Administration functions for the File (Field) Paths module.
Code
function filefield_paths_settings_form($form, $form_state) {
$form['filefield_paths_temp_location'] = array(
'#title' => t('Temporary file location'),
'#type' => 'textfield',
'#default_value' => variable_get('filefield_paths_temp_location', 'public://filefield_paths'),
'#description' => t('The location that unprocessed files will be uploaded prior to being processed by File (Field) Paths.<br />It is recommended that you use the temporary file system (temporary://) if your server configuration allows for that.'),
'#element_validate' => array(
'filefield_paths_settings_form_temp_location_validate',
),
);
return system_settings_form($form);
}