FileNameLengthConstraint::$maxLength

Same name in other branches
  1. 10 core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php \Drupal\file\Plugin\Validation\Constraint\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\Constraint

Code

public int $maxLength = 240;

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