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/Url.php
vendored
6
vendor/symfony/validator/Constraints/Url.php
vendored
|
@ -21,6 +21,12 @@ use Symfony\Component\Validator\Constraint;
|
|||
*/
|
||||
class Url extends Constraint
|
||||
{
|
||||
const INVALID_URL_ERROR = '57c2f299-1154-4870-89bb-ef3b1f5ad229';
|
||||
|
||||
protected static $errorNames = array(
|
||||
self::INVALID_URL_ERROR => 'INVALID_URL_ERROR',
|
||||
);
|
||||
|
||||
public $message = 'This value is not a valid URL.';
|
||||
public $dnsMessage = 'The host could not be resolved.';
|
||||
public $protocols = array('http', 'https');
|
||||
|
|
Reference in a new issue