FileItemValidationTest::$modules

Same name in other branches
  1. 9 core/modules/file/tests/src/Kernel/FileItemValidationTest.php \Drupal\Tests\file\Kernel\FileItemValidationTest::modules
  2. 10 core/modules/file/tests/src/Kernel/FileItemValidationTest.php \Drupal\Tests\file\Kernel\FileItemValidationTest::modules
  3. 11.x core/modules/file/tests/src/Kernel/FileItemValidationTest.php \Drupal\Tests\file\Kernel\FileItemValidationTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/file/tests/src/Kernel/FileItemValidationTest.php, line 23

Class

FileItemValidationTest
Tests that files referenced in file and image fields are always validated.

Namespace

Drupal\Tests\file\Kernel

Code

public static $modules = [
    'file',
    'image',
    'entity_test',
    'field',
    'user',
    'system',
];

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