namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
-use Drupal\Component\Utility\Unicode;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
$this->context->addViolation($constraint->message, [
'%value' => $item->value,
'@entity_type' => $entity->getEntityType()->getLowercaseLabel(),
- '@field_name' => Unicode::strtolower($items->getFieldDefinition()->getLabel()),
+ '@field_name' => mb_strtolower($items->getFieldDefinition()->getLabel()),
]);
}
}