Module Recettes : on avance petit à petit

This commit is contained in:
2021-04-27 18:57:00 +02:00
parent 33d48c9433
commit 9976d2ff76
48 changed files with 4558 additions and 357 deletions

View File

@@ -0,0 +1,31 @@
<?php
/**
* Created by PhpStorm.
* User: nicolasbarbey
* Date: 27/08/2019
* Time: 13:41
*/
namespace View\Hook;
use Thelia\Core\Event\Hook\HookRenderEvent;
use Thelia\Core\Hook\BaseHook;
class HookManager extends BaseHook
{
public function onModuleConfiguration(HookRenderEvent $event)
{
$event->add(
$this->render("ViewConfiguration.html")
);
}
public function onEditModuleTab(HookRenderEvent $event)
{
$view = $event->getArgument('view');
$event->add(
$this->render("View-".$view.".html")
);
}
}