function RulesReactionRuleUI::settingsFormExtractValues

Parameters

array $form: The form array where to add the form.

array $form_state: The current form state.

Overrides RulesPluginUI::settingsFormExtractValues

File

ui/ui.plugins.inc, line 174

Class

RulesReactionRuleUI
Reaction rule specific UI.

Code

public function settingsFormExtractValues($form, &$form_state) {
    $form_values = RulesPluginUI::getFormStateValues($form['settings'], $form_state);
    parent::settingsFormExtractValues($form, $form_state);
    $this->rule->active = $form_values['active'];
    $this->rule->weight = $form_values['weight'];
}