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

Breadcrumb

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

Length::$exactMessage

Type: exactMessage

File

vendor/symfony/validator/Constraints/Length.php, line 50

Class

Length
Validates that a given string length is between some minimum and maximum value.

Namespace

Symfony\Component\Validator\Constraints

Code

public string $exactMessage = 'This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters.';

API Navigation

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