FileUploadResourceTestBase::$file

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

Created file entity.

Type: \Drupal\file\Entity\File

File

core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php, line 75

Class

FileUploadResourceTestBase
Tests binary data file upload route.

Namespace

Drupal\Tests\rest\Functional

Code

protected $file;

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