function RulesConditionContainerUI::form_extract_values

Parameters

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

array $form_state: The current form state.

Overrides RulesContainerPluginUI::form_extract_values

File

ui/ui.core.inc, line 1207

Class

RulesConditionContainerUI
UI for Rules condition container.

Code

public function form_extract_values($form, &$form_state) {
    parent::form_extract_values($form, $form_state);
    $form_values = RulesPluginUI::getFormStateValues($form, $form_state);
    if (isset($form_values['negate'])) {
        $this->element
            ->negate($form_values['negate']);
    }
}