You are here

public property CropTypeAspectRatioValidationConstraint::$message in Crop API 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Validation/Constraint/CropTypeAspectRatioValidationConstraint.php \Drupal\crop\Plugin\Validation\Constraint\CropTypeAspectRatioValidationConstraint::message

The default violation message.

Type: string

File

src/Plugin/Validation/Constraint/CropTypeAspectRatioValidationConstraint.php, line 22

Class

CropTypeAspectRatioValidationConstraint
Supports validating crop type aspect ratio.

Namespace

Drupal\crop\Plugin\Validation\Constraint

Code

public $message = 'Invalid aspect ratio format. Should be defined in H:W form.';