Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/NotBlank.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
21 */ | 21 */ |
22 class NotBlank extends Constraint | 22 class NotBlank extends Constraint |
23 { | 23 { |
24 const IS_BLANK_ERROR = 'c1051bb4-d103-4f74-8988-acbcafc7fdc3'; | 24 const IS_BLANK_ERROR = 'c1051bb4-d103-4f74-8988-acbcafc7fdc3'; |
25 | 25 |
26 protected static $errorNames = array( | 26 protected static $errorNames = [ |
27 self::IS_BLANK_ERROR => 'IS_BLANK_ERROR', | 27 self::IS_BLANK_ERROR => 'IS_BLANK_ERROR', |
28 ); | 28 ]; |
29 | 29 |
30 public $message = 'This value should not be blank.'; | 30 public $message = 'This value should not be blank.'; |
31 } | 31 } |