You are here

public function RulesConditionalPredicateElement::__sleep in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.core.inc \RulesConditionalPredicateElement::__sleep()

Overrides RulesContainerPlugin::__sleep

File

includes/rules_conditional.core.inc, line 427
Conditional Rules framework implementation.

Class

RulesConditionalPredicateElement
Base conditional element that uses a predicate.

Code

public function __sleep() {
  $array = parent::__sleep();
  $array['predicate'] = 'predicate';
  return $array;
}