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

Breadcrumb

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

Image::$allowPortraitMessage

Type: allowPortraitMessage

File

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

Class

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

Namespace

Symfony\Component\Validator\Constraints

Code

public string $allowPortraitMessage = 'The image is portrait oriented ({{ width }}x{{ height }}px). Portrait oriented images are not allowed.';

API Navigation

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