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

Breadcrumb

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

FileNameLengthConstraint::$messageTooLong

The message when file name is too long.

Type: string

File

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

Class

FileNameLengthConstraint
File name length constraint.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public string $messageTooLong = "The file's name exceeds the %maxLength characters limit. Rename the file and try again.";

API Navigation

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