public function RulesReactionRuleUI::settingsFormExtractValues in Rules 7.2
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 - Contains UI for diverse plugins provided by Rules.
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'];
}