You are here

public function VariableRealmGlobal::variable_set in Variable 7

Set single variable.

Parameters

$name: Variable name

$value: Variable value

Overrides VariableRealmDefaultController::variable_set

File

variable_realm/variable_realm.class.inc, line 162
Variable realm controller

Class

VariableRealmGlobal
Controller for default system variables.

Code

public function variable_set($name, $value) {
  parent::variable_set($name, $value);
  variable_set($name, $value);
}