Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
6
vendor/symfony/validator/Constraints/Ip.php
vendored
6
vendor/symfony/validator/Constraints/Ip.php
vendored
|
@ -44,6 +44,8 @@ class Ip extends Constraint
|
|||
const V6_ONLY_PUBLIC = '6_public';
|
||||
const ALL_ONLY_PUBLIC = 'all_public';
|
||||
|
||||
const INVALID_IP_ERROR = 'b1b427ae-9f6f-41b0-aa9b-84511fbb3c5b';
|
||||
|
||||
protected static $versions = array(
|
||||
self::V4,
|
||||
self::V6,
|
||||
|
@ -62,6 +64,10 @@ class Ip extends Constraint
|
|||
self::ALL_ONLY_PUBLIC,
|
||||
);
|
||||
|
||||
protected static $errorNames = array(
|
||||
self::INVALID_IP_ERROR => 'INVALID_IP_ERROR',
|
||||
);
|
||||
|
||||
public $version = self::V4;
|
||||
|
||||
public $message = 'This is not a valid IP address.';
|
||||
|
|
Reference in a new issue