FormObjectTest::$modules

Same name in this branch
  1. 8.9.x core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
  2. 9 core/modules/system/tests/src/Functional/Form/FormObjectTest.php \Drupal\Tests\system\Functional\Form\FormObjectTest::modules
  3. 10 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
  4. 10 core/modules/system/tests/src/Functional/Form/FormObjectTest.php \Drupal\Tests\system\Functional\Form\FormObjectTest::modules
  5. 11.x core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
  6. 11.x core/modules/system/tests/src/Functional/Form/FormObjectTest.php \Drupal\Tests\system\Functional\Form\FormObjectTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/system/tests/src/Functional/Form/FormObjectTest.php, line 19

Class

FormObjectTest
Tests building a form from an object.

Namespace

Drupal\Tests\system\Functional\Form

Code

public static $modules = [
    'form_test',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.