StringEqualsConcatenatedValuesConstraint::$message

The error message if the string does not match.

Type: string

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/StringEqualsConcatenatedValuesConstraint.php, line 25

Class

StringEqualsConcatenatedValuesConstraint
Checks a string consists of specific values found in the mapping.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public string $message = "Expected '@expected_string', not '@value'. Format: '@expected_format'.";

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.