You are here

function rules_variable::update in Rules 6

Updates the actual variable

File

rules/rules.variables.inc, line 344
Provides functions and classes for handling variables

Class

rules_variable
Handles loading and saving a variable

Code

function update(&$data) {
  $this->data
    ->update($data);
}