public function TriggeringElementProgrammedUnitTest::submitForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php \Drupal\system\Tests\Form\TriggeringElementProgrammedUnitTest::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
- core/
modules/ system/ src/ Tests/ Form/ TriggeringElementProgrammedUnitTest.php, line 70 - Contains \Drupal\system\Tests\Form\TriggeringElementProgrammedUnitTest.
Class
- TriggeringElementProgrammedUnitTest
- Tests detection of triggering_element for programmed form submissions.
Namespace
Drupal\system\Tests\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
}