FileEncodingConstraint::$encodings

The allowed file encodings.

Type: array

File

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

Class

FileEncodingConstraint
Defines an encoding constraint for files.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public array $encodings;

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