FileIsImageConstraintValidatorTest::$nonImage
Same name in other branches
- 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\ConstraintCode
protected FileInterface $nonImage;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.