function RulesPlugin::__toString

When converted to a string, just use the export format.

File

includes/rules.core.inc, line 696

Class

RulesPlugin
Base class for rules plugins.

Code

public function __toString() {
    return $this->isRoot() ? $this->export() : entity_var_json_export($this->export());
}