FileIsImageConstraintValidatorTest::$nonImage

Same name in other branches
  1. 11.x core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php \Drupal\Tests\file\Kernel\Plugin\Validation\Constraint\FileIsImageConstraintValidatorTest::nonImage

A file which is not an image.

Type: \Drupal\file\FileInterface

File

core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileIsImageConstraintValidatorTest.php, line 31

Class

FileIsImageConstraintValidatorTest
Tests the FileIsImageConstraintValidator.

Namespace

Drupal\Tests\file\Kernel\Plugin\Validation\Constraint

Code

protected FileInterface $nonImage;

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