FileNameLengthConstraint::$maxLength
The maximum file name length.
Type: int
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileNameLengthConstraint.php, line 24
Class
- FileNameLengthConstraint
- File name length constraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public int $maxLength = 240;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.