<?php

namespace PrestaShop\Module\LCVPrestaConnector\Forms;

use LCVPrestaConnector;
use Symfony\Component\Form\AbstractType;

class ConnectorType extends AbstractType {

    /**
     * lien vers le module
     */
    protected LCVPrestaConnector $module;
    protected $templatePath;
    protected $titleFormTemplatePath;

    /**
     * Constructeur
     */
    public function __construct() {
        $moduleName = strtolower('LCVPrestaConnector');

        $this->module = \Module::getInstanceByName($moduleName);
        $this->templatePath = '@Modules/'.$moduleName.'/views/templates';
        $this->titleFormTemplatePath = $this->templatePath . '/admin/form_title.html.twig';
    }

}