You are here

public property ValidJSONConstraint::$message in JSON Field 8

The default violation message.

Type: string

File

src/Plugin/Validation/Constraint/ValidJSONConstraint.php, line 24

Class

ValidJSONConstraint
JSON Field valid JSON constraint.

Namespace

Drupal\json_field\Plugin\Validation\Constraint

Code

public $message = 'The supplied text is not valid JSON data (@error).';