You are here

public property HexColorConstraint::$notValidHexadecimalColorString in Color API 8

The message shown when the value is not a valid hexadecimal color string.

Type: string

File

src/Plugin/Validation/Constraint/HexColorConstraint.php, line 23

Class

HexColorConstraint
Ensures that values are valid hexadecimal color strings.

Namespace

Drupal\colorapi\Plugin\Validation\Constraint

Code

public $notValidHexadecimalColorString = '%value is not a valid hexadecimal color string. Hexadecimal color strings are in the format #XXXXXX where X is a hexadecimal character (0-9, a-f).';