Commit du répertoire FedEx
This commit is contained in:
21
local/modules/FedEx/Hook/HookManager.php
Normal file
21
local/modules/FedEx/Hook/HookManager.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace FedEx\Hook;
|
||||
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
/**
|
||||
* Class HookManager
|
||||
* @package FedEx\Hook
|
||||
* @author Laurent LE CORRE <laurent@thecoredev.fr>
|
||||
*/
|
||||
class HookManager extends BaseHook
|
||||
{
|
||||
public function onModuleConfiguration(HookRenderEvent $event)
|
||||
{
|
||||
$module_id = self::getModule()->getModuleId();
|
||||
|
||||
$event->add($this->render("module_configuration.html", ['module_id' => $module_id]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user