protected static property FormObjectTest::$modules in Drupal 10
Same name in this branch
- 10 core/modules/system/tests/src/Functional/Form/FormObjectTest.php \Drupal\Tests\system\Functional\Form\FormObjectTest::modules
- 10 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Kernel/Form/FormObjectTest.php \Drupal\Tests\system\Kernel\Form\FormObjectTest::modules
- 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\FormCode
protected static $modules = [
'form_test',
];