function BatchTestHelper::nestedDrupalFormSubmitCallback
Batch operation: Submits form_test_mock_form().
File
-
core/
modules/ system/ tests/ modules/ batch_test/ src/ BatchTestHelper.php, line 14
Class
Namespace
Drupal\batch_testCode
public function nestedDrupalFormSubmitCallback($value) : void {
$form_state = (new FormState())->setValue('test_value', $value);
\Drupal::formBuilder()->submitForm('Drupal\\batch_test\\Form\\BatchTestMockForm', $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.