FileNameLengthConstraint::$messageEmpty

Same name in other branches
  1. 11.x core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileNameLengthConstraint::messageEmpty

The message when file name is empty.

Type: string

File

core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php, line 31

Class

FileNameLengthConstraint
File name length constraint.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public string $messageEmpty = "The file's name is empty. Enter a name for the file.";

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