You are here

function file_styles_variable_del in Styles 7.2

Wrapper for variable_del() using the File Styles variable registry.

Parameters

string $name: The variable name to delete. Note that it will be namespaced by pre-pending FILE_STYLES_NAMESPACE, as to avoid variable collisions with other modules.

See also

file_styles_variable_get()

file_styles_variable_set()

file_styles_variable_default()

File

contrib/file_styles/includes/file_styles.variables.inc, line 80
file_styles/includes/file_styles.variables.inc Variable defaults for File Styles.

Code

function file_styles_variable_del($name) {
  $variable_name = FILE_STYLES_NAMESPACE . $name;
  variable_del($variable_name);
}