You are here

function styles_variable_del in Styles 6

Same name and namespace in other branches
  1. 6.2 includes/styles.variables.inc \styles_variable_del()
  2. 7.2 includes/styles.variables.inc \styles_variable_del()

Wrapper for variable_del() using the Styles variable registry.

Parameters

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

See also

styles_variable_get()

styles_variable_set()

styles_variable_default()

1 call to styles_variable_del()
styles_uninstall in ./styles.install
Implement hook_uninstall().

File

includes/styles.variables.inc, line 105
styles.variables.inc Variable defaults for Styles.

Code

function styles_variable_del($name) {
  $variable_name = STYLES_NAMESPACE . $name;
  variable_del($variable_name);
}