FileImageDimensionsConstraint::$maxDimensions
Same name in other branches
- 11.x core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileImageDimensionsConstraint::maxDimensions
The maximum dimensions.
Type: string|int
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileImageDimensionsConstraint.php, line 33
Class
- FileImageDimensionsConstraint
- File extension dimensions constraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public string|int $maxDimensions = 0;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.