function RulesState::__construct

Constructs a RulesState object.

File

includes/rules.state.inc, line 57

Class

RulesState
The rules evaluation state.

Code

public function __construct() {
    // Use an object in order to ensure any cloned states reference the same
    // save information.
    $this->save = new ArrayObject();
    $this->addVariable('site', FALSE, self::defaultVariables('site'));
}