public function RulesConditionalPredicateUI::form_validate in Conditional Rules 8
Same name and namespace in other branches
- 7 includes/rules_conditional.ui.inc \RulesConditionalPredicateUI::form_validate()
Delegates the form validator to the predicate.
File
- includes/
rules_conditional.ui.inc, line 101 - Plugin UI implementation.
Class
- RulesConditionalPredicateUI
- UI for configuring the predicate in a conditional branch.
Code
public function form_validate($form, &$form_state) {
if (isset($this->predicate)) {
// Validate form for predicate.
$form_state['rules_element'] = $this->predicate;
$this->predicate
->form_validate($form, $form_state);
}
}