Encore des modifs sur module DHL

This commit is contained in:
2020-12-09 08:53:27 +01:00
parent 92dae7030b
commit bd13055424
5 changed files with 37 additions and 9 deletions

View File

@@ -3,6 +3,7 @@
namespace DHL\Form;
use DHL\DHL;
use Symfony\Component\Validator\Constraints\NotBlank;
use Thelia\Form\BaseForm;
/**
@@ -19,6 +20,7 @@ class Configuration extends BaseForm
DHL::WEBSERVICE_URL,
'text',
[
'constraints' => [new NotBlank()],
'label' => $this->translator->trans('DHL tracking URL', [], DHL::DOMAIN_NAME),
'label_attr' => [
'help' => $this->translator->trans('This is the URL of the DHL tracking service.', [], DHL::DOMAIN_NAME)