You are here

public property MediaTestConstraint::$message in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php \Drupal\media_test_source\Plugin\Validation\Constraint\MediaTestConstraint::message
  2. 9 core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php \Drupal\media_test_source\Plugin\Validation\Constraint\MediaTestConstraint::message

The default violation message.

Type: string

File

core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraint.php, line 23

Class

MediaTestConstraint
A media test constraint.

Namespace

Drupal\media_test_source\Plugin\Validation\Constraint

Code

public $message = 'Inappropriate text.';