Files
domokits-NEW/domokits/local/modules/TheliaBlocks/Hook/TheliaBlocksMenuHook.php

27 lines
605 B
PHP

<?php
/*
* This file is part of the Thelia package.
* http://www.thelia.net
*
* (c) OpenStudio <info@thelia.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace TheliaBlocks\Hook;
use Thelia\Core\Event\Hook\HookRenderEvent;
use Thelia\Core\Hook\BaseHook;
class TheliaBlocksMenuHook extends BaseHook
{
public function onMainInTopMenuItems(HookRenderEvent $event): void
{
$event->add(
$this->render('hook-in-top-menu-item.html', $event->getTemplateVars())
);
}
}