FileSizeLimitConstraint::$maxFileSizeMessage

Same name in other branches
  1. 10 core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileSizeLimitConstraint::maxFileSizeMessage

The message for when file size limit is exceeded.

Type: string

File

core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php, line 24

Class

FileSizeLimitConstraint
File size max constraint.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public string $maxFileSizeMessage = 'The file is %filesize exceeding the maximum file size of %maxsize.';

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