Skip to content
Snippets Groups Projects
Commit e8d56cc4 authored by Olivier Deboyser's avatar Olivier Deboyser Committed by howard ge
Browse files

Change CountryConstraint plugin ID to avoid collision with Address contrib module.

parent 251e4458
Branches
Tags 3.0.0-beta3
1 merge request!4Change CountryConstraint plugin ID to avoid collision with Address contrib module.
......@@ -21,7 +21,7 @@ class CountryConstraintFieldValidationRule extends ConstraintFieldValidationRule
* {@inheritdoc}
*/
public function getConstraintName(): string{
return "Country";
return "SymfonyCountry";
}
/**
......
......@@ -9,7 +9,7 @@ use Symfony\Component\Validator\Constraints\CountryValidator;
* Country constraint.
*
* @Constraint(
* id = "Country",
* id = "SymfonyCountry",
* label = @Translation("Country", context = "Validation"),
* )
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment