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

Breadcrumb

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

Image::$maxRatioMessage

Type: maxRatioMessage

File

vendor/symfony/validator/Constraints/Image.php, line 84

Class

Image
Validates that a file (or a path to a file) is a valid image.

Namespace

Symfony\Component\Validator\Constraints

Code

public string $maxRatioMessage = 'The image ratio is too big ({{ ratio }}). Allowed maximum ratio is {{ max_ratio }}.';

API Navigation

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