public function ModalPageSettingsFormTest::submitForm in Modal 8.3
Same name and namespace in other branches
- 8.2 tests/src/Kernel/Form/ModalPageSettingsFormTest.php \Drupal\Tests\modal_page\Kernel\Form\ModalPageSettingsFormTest::submitForm()
Test submit form.
1 call to ModalPageSettingsFormTest::submitForm()
- ModalPageSettingsFormTest::setUp in tests/
src/ Kernel/ Form/ ModalPageSettingsFormTest.php
File
- tests/
src/ Kernel/ Form/ ModalPageSettingsFormTest.php, line 85
Class
- ModalPageSettingsFormTest
- Kernel tests for ModalPageSettingsForm.
Namespace
Drupal\Tests\modal_page\Kernel\FormCode
public function submitForm() {
$formState = $this
->getFormState();
$form = $this->modalPageSettingsForm
->buildForm([], $formState);
$this->modalPageSettingsForm
->submitForm($form, $formState);
}