public function RulesConditionalPredicateUI::__construct in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.ui.inc \RulesConditionalPredicateUI::__construct()
Provide $this->element to make the code more meaningful.
Overrides RulesPluginUI::__construct
File
- includes/
rules_conditional.ui.inc, line 67 - Plugin UI implementation.
Class
- RulesConditionalPredicateUI
- UI for configuring the predicate in a conditional branch.
Code
public function __construct(FacesExtendable $object) {
parent::__construct($object);
if (!$this->element instanceof RulesConditionalPredicateElement) {
return;
}
$this->predicate = $this
->property('predicate');
}