Inital commit

This commit is contained in:
2020-11-19 15:36:28 +01:00
parent 71f32f83d3
commit 66ce4ee218
18077 changed files with 2166122 additions and 35184 deletions

View File

@@ -0,0 +1,39 @@
<?php
/*************************************************************************************/
/* */
/* Copyright (c) Franck Allimant, CQFDev */
/* email : thelia@cqfdev.fr */
/* web : http://www.cqfdev.fr */
/* */
/* For the full copyright and license information, please view the LICENSE */
/* file that was distributed with this source code. */
/* */
/*************************************************************************************/
/**
* @author Franck Allimant <franck@cqfdev.fr>
*
* Creation date: 23/03/2015 12:09
*/
namespace BestSellers\Hook;
use BestSellers\BestSellers;
use Thelia\Core\Event\Hook\HookRenderBlockEvent;
use Thelia\Core\Hook\BaseHook;
use Thelia\Tools\URL;
class HookManager extends BaseHook
{
public function onMainTopMenuTools(HookRenderBlockEvent $event)
{
$event->add(
[
'id' => 'bestsellers_menu_tags',
'class' => '',
'url' => URL::getInstance()->absoluteUrl('/admin/best-sellers'),
'title' => $this->trans("Best sellers", [], BestSellers::DOMAIN_NAME)
]
);
}
}