FileIsImageConstraint::$message
The error message.
Type: string
File
- 
              core/modules/ file/ src/ Plugin/ Validation/ Constraint/ FileIsImageConstraint.php, line 26 
Class
- FileIsImageConstraint
- File is image constraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public string $message = 'The image file is invalid or the image type is not allowed. Allowed types: %types';Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
