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

Breadcrumb

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

FileNameLengthConstraint::$messageEmpty

The message when file name is empty.

Type: string

File

core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php, line 31

Class

FileNameLengthConstraint
File name length constraint.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public string $messageEmpty = "The file's name is empty. Enter a name for the file.";

API Navigation

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