FileItemTest::$file
Same name in other branches
- 8.9.x core/modules/file/tests/src/Kernel/FileItemTest.php \Drupal\Tests\file\Kernel\FileItemTest::file
- 10 core/modules/file/tests/src/Kernel/FileItemTest.php \Drupal\Tests\file\Kernel\FileItemTest::file
- 11.x 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\KernelCode
protected $file;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.