Commit du répertoire FedEx

This commit is contained in:
2020-11-13 10:50:08 +01:00
parent 898aa9df75
commit 63504d5f90
21 changed files with 1102 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace FedEx\Form;
use FedEx\FedEx;
use FedEx\Model\Config\Base\FedExConfigValue;
use Thelia\Core\Translation\Translator;
use Thelia\Form\BaseForm;
/**
* Class Configuration
* @package FedEx\Form
* @author Laurent LE CORRE <laurent@thecoredev.fr>
*/
class Configuration extends BaseForm
{
protected function buildForm()
{
$this->formBuilder
->add(
FedEx::TRACKING_URL,
'text',
[
'label' => $this->translator->trans('FedEx parcel tracking URL', [], FedEx::DOMAIN_NAME),
'label_attr' => [
'help' => $this->translator->trans('This is the parcel tracking URL for FedEx.', [], FedEx::DOMAIN_NAME)
]
]
);
}
}