function RulesPlugin::__clone

Do a deep clone.

1 call to RulesPlugin::__clone()
RulesContainerPlugin::__clone in includes/rules.core.inc
By default we do a deep clone.
1 method overrides RulesPlugin::__clone()
RulesContainerPlugin::__clone in includes/rules.core.inc
By default we do a deep clone.

File

includes/rules.core.inc, line 579

Class

RulesPlugin
Base class for rules plugins.

Code

public function __clone() {
    // Make sure the element map is cleared.
    // @see self::elementMap()
    unset($this->map);
}