FileIsImageConstraintValidatorTest::$image

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::image

An image file.

Type: \Drupal\file\FileInterface

File

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

Class

FileIsImageConstraintValidatorTest
Tests the FileIsImageConstraintValidator.

Namespace

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

Code

protected FileInterface $image;

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