function file_styles_variable_default in Styles 7.2
The default variables within the File Styles namespace.
Parameters
string $name: Optional variable name to retrieve the default. Note that it has not yet been pre-pended with the FILE_STYLES_NAMESPACE namespace at this time.
Return value
unknown The default value of this variable, if it's been set, or NULL, unless $name is NULL, in which case we return an array of all default values.
See also
1 call to file_styles_variable_default()
- file_styles_variable_get in contrib/file_styles/ includes/ file_styles.variables.inc 
- Wrapper for variable_get() using the File Styles variable registry.
File
- contrib/file_styles/ includes/ file_styles.variables.inc, line 99 
- file_styles/includes/file_styles.variables.inc Variable defaults for File Styles.
Code
function file_styles_variable_default($name = NULL) {
  static $defaults;
  if (!isset($defaults)) {
    $defaults = array(
      'image_style_preview_image' => variable_get('image_style_preview_image', drupal_get_path('module', 'image') . '/sample.png'),
      'preview_image_directory' => 'file-styles',
      'preview_image' => '',
    );
  }
  if (!isset($name)) {
    return $defaults;
  }
  if (isset($defaults[$name])) {
    return $defaults[$name];
  }
}