You are here

protected static property FilePrivateTest::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Functional/FilePrivateTest.php \Drupal\Tests\file\Functional\FilePrivateTest::modules
  2. 9 core/modules/file/tests/src/Functional/FilePrivateTest.php \Drupal\Tests\file\Functional\FilePrivateTest::modules

Modules to enable.

Type: array

File

core/modules/file/tests/src/Functional/FilePrivateTest.php, line 21

Class

FilePrivateTest
Uploads a test to a private node and checks access.

Namespace

Drupal\Tests\file\Functional

Code

protected static $modules = [
  'node_access_test',
  'field_test',
];