Quelques nouveaux fichiers et modules en conf

This commit is contained in:
2021-01-25 18:42:52 +01:00
parent 9b4d5e339b
commit af1552b390
212 changed files with 38073 additions and 817 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
* Created by PhpStorm.
* User: nicolasbarbey
* Date: 18/09/2019
* Time: 16:45
*/
namespace CustomerFamily\Hook;
use Thelia\Core\Event\Hook\HookRenderBlockEvent;
use Thelia\Core\Hook\BaseHook;
use Thelia\Tools\URL;
class CustomerFamilyToolsHook extends BaseHook
{
public function onMainTopMenuTools(HookRenderBlockEvent $event)
{
$event->add(
[
'id' => 'tools_menu_customer_family',
'class' => '',
'url' => URL::getInstance()->absoluteUrl('/admin/module/CustomerFamily'),
'title' => "Customer families"
]
);
}
}