FileItemValidationTest::$user

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

A user.

Type: \Drupal\user\UserInterface

File

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

Class

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

Namespace

Drupal\Tests\file\Kernel

Code

protected $user;

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