FileEncodingConstraint::$message

The error message.

Type: string

File

core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraint.php, line 25

Class

FileEncodingConstraint
Defines an encoding constraint for files.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public string $message = "The file is encoded with %detected. It must be encoded with %encoding";

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