You are here

public function RulesPlugin::__clone in Rules 7.2

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 578
Rules base classes and interfaces needed for any rule evaluation.

Class

RulesPlugin
Base class for rules plugins.

Code

public function __clone() {

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