Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
@ -136,4 +136,5 @@ class ConstraintManager extends DefaultPluginManager {
|
|||
}
|
||||
return $definitions;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -103,4 +103,5 @@ class DrupalTranslator implements TranslatorInterface {
|
|||
$locale = isset($locale) ? $locale : $this->locale;
|
||||
return array('langcode' => $locale);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -18,4 +18,5 @@ class AllowedValuesConstraint extends Choice {
|
|||
|
||||
public $minMessage = 'You must select at least %limit choice.|You must select at least %limit choices.';
|
||||
public $maxMessage = 'You must select at most %limit choice.|You must select at most %limit choices.';
|
||||
|
||||
}
|
||||
|
|
|
@ -57,4 +57,5 @@ class ComplexDataConstraint extends Constraint {
|
|||
public function getRequiredOptions() {
|
||||
return array('properties');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -27,4 +27,5 @@ class CountConstraint extends Count {
|
|||
public function validatedBy() {
|
||||
return '\Symfony\Component\Validator\Constraints\CountValidator';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -24,4 +24,5 @@ class EmailConstraint extends Email {
|
|||
public function validatedBy() {
|
||||
return '\Symfony\Component\Validator\Constraints\EmailValidator';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -29,4 +29,5 @@ class LengthConstraint extends Length {
|
|||
public function validatedBy() {
|
||||
return '\Symfony\Component\Validator\Constraints\LengthValidator';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -15,4 +15,5 @@ use Symfony\Component\Validator\Constraint;
|
|||
class PrimitiveTypeConstraint extends Constraint {
|
||||
|
||||
public $message = 'This value should be of the correct primitive type.';
|
||||
|
||||
}
|
||||
|
|
|
@ -77,4 +77,5 @@ class PrimitiveTypeConstraintValidator extends ConstraintValidator {
|
|||
));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -28,4 +28,5 @@ class RangeConstraint extends Range {
|
|||
public function validatedBy() {
|
||||
return '\Symfony\Component\Validator\Constraints\RangeValidator';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -24,4 +24,5 @@ class RegexConstraint extends Regex {
|
|||
public function validatedBy() {
|
||||
return '\Symfony\Component\Validator\Constraints\RegexValidator';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -40,4 +40,5 @@ class UniqueFieldValueValidator extends ConstraintValidator {
|
|||
]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue