You are here

function filefield_paths_variable_info in File (Field) Paths 7

Implements hook_variable_info().

Return value

mixed

File

./filefield_paths.variable.inc, line 13
Contains Variable functions for the File (Field) Paths module.

Code

function filefield_paths_variable_info() {
  $variables['filefield_paths_temp_location'] = array(
    'title' => t('Temporary file location'),
    'type' => 'string',
    'default' => '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.'),
    'validate callback' => 'filefield_paths_variable_temp_location_validate',
    'group' => 'filefield_paths',
  );
  return $variables;
}