Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UploadedFileConstraint.php

UploadedFileConstraint::$uploadErrorMessage

The generic file upload error message.

Type: string

File

core/modules/file/src/Validation/Constraint/UploadedFileConstraint.php, line 54

Class

UploadedFileConstraint
A constraint for UploadedFile objects.

Namespace

Drupal\file\Validation\Constraint

Code

public string $uploadErrorMessage = 'The file %file could not be saved. An unknown error has occurred.';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal