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