Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/Locale.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 Locale extends Constraint | 22 class Locale extends Constraint |
23 { | 23 { |
24 const NO_SUCH_LOCALE_ERROR = 'a0af4293-1f1a-4a1c-a328-979cba6182a2'; | 24 const NO_SUCH_LOCALE_ERROR = 'a0af4293-1f1a-4a1c-a328-979cba6182a2'; |
25 | 25 |
26 protected static $errorNames = array( | 26 protected static $errorNames = [ |
27 self::NO_SUCH_LOCALE_ERROR => 'NO_SUCH_LOCALE_ERROR', | 27 self::NO_SUCH_LOCALE_ERROR => 'NO_SUCH_LOCALE_ERROR', |
28 ); | 28 ]; |
29 | 29 |
30 public $message = 'This value is not a valid locale.'; | 30 public $message = 'This value is not a valid locale.'; |
31 } | 31 } |