You are here

public function TestFormWithPredefinedForm::setForm in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestFormWithPredefinedForm::setForm()

File

core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php, line 965
Contains \Drupal\Tests\Core\Form\FormBuilderTest.

Class

TestFormWithPredefinedForm

Namespace

Drupal\Tests\Core\Form

Code

public function setForm($form) {
  $this->form = $form;
}