function ConditionForm::submitFirstStep
Submit callback: save the selected condition in the first step.
File
-
src/
Form/ Expression/ ConditionForm.php, line 168
Class
- ConditionForm
- UI form for adding/editing a Rules condition.
Namespace
Drupal\rules\Form\ExpressionCode
public static function submitFirstStep(array &$form, FormStateInterface $form_state) {
$form_state->set('condition_id', $form_state->getValue('condition_id'));
$form_state->setRebuild();
}