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

Breadcrumb

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

Positive::$message

Type: message

Overrides GreaterThan::$message

File

vendor/symfony/validator/Constraints/Positive.php, line 24

Class

Positive
Validates that a value is a positive number.

Namespace

Symfony\Component\Validator\Constraints

Code

public string $message = 'This value should be positive.';

API Navigation

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