UserFieldsTest::$modules
Same name in other branches
- 9 core/modules/user/tests/src/Kernel/UserFieldsTest.php \Drupal\Tests\user\Kernel\UserFieldsTest::modules
- 10 core/modules/user/tests/src/Kernel/UserFieldsTest.php \Drupal\Tests\user\Kernel\UserFieldsTest::modules
- 11.x core/modules/user/tests/src/Kernel/UserFieldsTest.php \Drupal\Tests\user\Kernel\UserFieldsTest::modules
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
-
core/
modules/ user/ tests/ src/ Kernel/ UserFieldsTest.php, line 20
Class
- UserFieldsTest
- Tests available user fields in twig.
Namespace
Drupal\Tests\user\KernelCode
public static $modules = [
'user',
'system',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.