function RulesState::varInfo

Get the info about the state variables or a single variable.

File

includes/rules.state.inc, line 117

Class

RulesState
The rules evaluation state.

Code

public function varInfo($name = NULL) {
    if (isset($name)) {
        return isset($this->info[$name]) ? $this->info[$name] : FALSE;
    }
    return $this->info;
}