public static property FileItemValidationTest::$modules in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/file/tests/src/Kernel/FileItemValidationTest.php \Drupal\Tests\file\Kernel\FileItemValidationTest::modules
Modules to enable.
Test classes extending this class, and any classes in the hierarchy up to this class, may specify individual lists of modules to enable by setting this property. The values of all properties in all classes in the class hierarchy are merged.
Type: array
Overrides KernelTestBase::$modules
See also
\Drupal\Tests\KernelTestBase::enableModules()
\Drupal\Tests\KernelTestBase::bootKernel()
File
- core/
modules/ file/ tests/ src/ Kernel/ FileItemValidationTest.php, line 28 - Contains \Drupal\Tests\file\Kernel\FileItemValidationTest.
Class
- FileItemValidationTest
- Tests that files referenced in file and image fields are always validated.
Namespace
Drupal\Tests\file\KernelCode
public static $modules = [
'file',
'image',
'entity_test',
'field',
'user',
'system',
];