Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Constraints/Country.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
21 */ | 21 */ |
22 class Country extends Constraint | 22 class Country extends Constraint |
23 { | 23 { |
24 const NO_SUCH_COUNTRY_ERROR = '8f900c12-61bd-455d-9398-996cd040f7f0'; | 24 const NO_SUCH_COUNTRY_ERROR = '8f900c12-61bd-455d-9398-996cd040f7f0'; |
25 | 25 |
26 protected static $errorNames = array( | 26 protected static $errorNames = [ |
27 self::NO_SUCH_COUNTRY_ERROR => 'NO_SUCH_COUNTRY_ERROR', | 27 self::NO_SUCH_COUNTRY_ERROR => 'NO_SUCH_COUNTRY_ERROR', |
28 ); | 28 ]; |
29 | 29 |
30 public $message = 'This value is not a valid country.'; | 30 public $message = 'This value is not a valid country.'; |
31 } | 31 } |