public static function WebformAjaxElementTrait::submitAjaxElementCallback in Webform 8.5
Same name and namespace in other branches
- 6.x src/Element/WebformAjaxElementTrait.php \Drupal\webform\Element\WebformAjaxElementTrait::submitAjaxElementCallback()
Ajax element submit callback.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
2 methods override WebformAjaxElementTrait::submitAjaxElementCallback()
- WebformSubmissionResendForm::submitAjaxElementCallback in src/
Form/ WebformSubmissionResendForm.php - Ajax element submit callback.
- WebformTestElementProperties::submitAjaxElementCallback in tests/
modules/ webform_test_element/ src/ Plugin/ WebformElement/ WebformTestElementProperties.php - Ajax element submit callback.
File
- src/
Element/ WebformAjaxElementTrait.php, line 172
Class
- WebformAjaxElementTrait
- Trait class for element Ajax support.
Namespace
Drupal\webform\ElementCode
public static function submitAjaxElementCallback(array $form, FormStateInterface $form_state) {
$form_state
->setRebuild();
}