Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/NotEqualTo.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 |
---|---|
20 */ | 20 */ |
21 class NotEqualTo extends AbstractComparison | 21 class NotEqualTo extends AbstractComparison |
22 { | 22 { |
23 const IS_EQUAL_ERROR = 'aa2e33da-25c8-4d76-8c6c-812f02ea89dd'; | 23 const IS_EQUAL_ERROR = 'aa2e33da-25c8-4d76-8c6c-812f02ea89dd'; |
24 | 24 |
25 protected static $errorNames = array( | 25 protected static $errorNames = [ |
26 self::IS_EQUAL_ERROR => 'IS_EQUAL_ERROR', | 26 self::IS_EQUAL_ERROR => 'IS_EQUAL_ERROR', |
27 ); | 27 ]; |
28 | 28 |
29 public $message = 'This value should not be equal to {{ compared_value }}.'; | 29 public $message = 'This value should not be equal to {{ compared_value }}.'; |
30 } | 30 } |