Initial commit
This commit is contained in:
21
local/modules/Shortcuts/Hook/Shortcuts.php
Normal file
21
local/modules/Shortcuts/Hook/Shortcuts.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Shortcuts\Hook;
|
||||
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
// use Thelia\Core\Event\Hook\HookRenderBlockEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
/**
|
||||
* Class Shortcuts
|
||||
* @package Shortcuts\Hook
|
||||
* @author Julien Chanséaume <jchanseaume@openstudio.fr>
|
||||
*/
|
||||
class Shortcuts extends BaseHook
|
||||
{
|
||||
|
||||
public function onMainTopbarTop(HookRenderEvent $event)
|
||||
{
|
||||
$event->add($this->render("shortcuts.hook.html", $event->getArguments()));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user