function StubForm::buildForm
Same name in other branches
- 9 core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::buildForm()
- 8.9.x core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::buildForm()
- 10 core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::buildForm()
Overrides FormInterface::buildForm
File
-
core/
modules/ system/ tests/ src/ Functional/ Form/ StubForm.php, line 54
Class
- StubForm
- Provides a stub form for testing purposes.
Namespace
Drupal\Tests\system\Functional\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
return $this->form;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.