You are here

protected property FileItemTest::$file in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Kernel/FileItemTest.php \Drupal\Tests\file\Kernel\FileItemTest::file

Created file entity.

Type: \Drupal\file\Entity\File

File

core/modules/file/tests/src/Kernel/FileItemTest.php, line 34

Class

FileItemTest
Tests using entity fields of the file field type.

Namespace

Drupal\Tests\file\Kernel

Code

protected $file;