FileImageDimensionsConstraintValidatorTest::$nonImage

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

A file which is not an image.

Type: \Drupal\file\FileInterface

File

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

Class

FileImageDimensionsConstraintValidatorTest
Tests the FileImageDimensionsConstraintValidator.

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.