public function VariableRealmControllerInterface::variable_add in Variable 7
Add single variable to the realm for current request.
While variable set actually sets the variable on whatever realm storage we are using, this function just sets a runtime value.
Parameters
$name: Variable name
$value: Variable value
1 method overrides VariableRealmControllerInterface::variable_add()
- VariableRealmDefaultController::variable_add in variable_realm/
variable_realm.class.inc - Implementation of VariableRealmControllerInterface::variable_add().
File
- variable_realm/
variable_realm.class.inc, line 62 - Variable realm controller
Class
- VariableRealmControllerInterface
- Realm Controller Interface.
Code
public function variable_add($name, $value);