You are here

function rules_webform_save_rule in RULES WEBFORM 3.x

Same name and namespace in other branches
  1. 8 rules_webform.module \rules_webform_save_rule()

Save changes in the Rule after storing webform_id and adding the condition.

1 call to rules_webform_save_rule()
rules_webform_check_if_webform_submit_event_selected in ./rules_webform.module
Check if Webform events selected.

File

./rules_webform.module, line 124
Contains rules_webform.module.

Code

function rules_webform_save_rule($form, FormStateInterface $form_state) {
  $form_state
    ->getFormObject()
    ->getEntity()
    ->save();
}