You are here

protected static property FormObjectTest::$modules in Drupal 10

Same name in this branch
  1. 10 core/modules/system/tests/src/Functional/Form/FormObjectTest.php \Drupal\Tests\system\Functional\Form\FormObjectTest::modules
  2. 10 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
  2. 9 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/system/tests/src/Kernel/Form/FormObjectTest.php, line 20

Class

FormObjectTest
Tests building a form from an object.

Namespace

Drupal\Tests\system\Kernel\Form

Code

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