public function RulesConditionalPredicateUI::form_validate in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.ui.inc \RulesConditionalPredicateUI::form_validate()
Delegates the form validator to the predicate.
Overrides RulesPluginUI::form_validate
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);
}
}