<?php

namespace PrestaShop\Module\PolarisPrestaConnector\Forms;

use PolarisPrestaConnector;
use Symfony\Component\Form\AbstractType;

class ConnectorType extends AbstractType {

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

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

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

}