<?php

namespace PrestaShop\Module\PolarisPrestaTheme\Forms;

use PolarisPrestaTheme;
use Symfony\Component\Form\AbstractType;

class ThemeFormType extends AbstractType {

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

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

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

}