You are here

public function RulesConditionalPredicateUI::__construct in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.ui.inc \RulesConditionalPredicateUI::__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');
}