Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Constraints/IsTrue.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 IsTrue extends Constraint | 22 class IsTrue extends Constraint |
23 { | 23 { |
24 const NOT_TRUE_ERROR = '2beabf1c-54c0-4882-a928-05249b26e23b'; | 24 const NOT_TRUE_ERROR = '2beabf1c-54c0-4882-a928-05249b26e23b'; |
25 | 25 |
26 protected static $errorNames = array( | 26 protected static $errorNames = [ |
27 self::NOT_TRUE_ERROR => 'NOT_TRUE_ERROR', | 27 self::NOT_TRUE_ERROR => 'NOT_TRUE_ERROR', |
28 ); | 28 ]; |
29 | 29 |
30 public $message = 'This value should be true.'; | 30 public $message = 'This value should be true.'; |
31 } | 31 } |