FileExtensionSecureConstraint::$message
Same name in other branches
- 10 core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileExtensionSecureConstraint::message
The error message.
Type: string
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionSecureConstraint.php, line 26
Class
- FileExtensionSecureConstraint
- File extension secure constraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public string $message = 'For security reasons, your upload has been rejected.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.