<?php

namespace PrestaShop\Module\LCVPrestaTheme\Forms;

use LCVPrestaTheme;
use Symfony\Component\Form\AbstractType;

class ThemeFormType extends AbstractType {

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

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

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

}