32 lines
1.3 KiB
PHP
32 lines
1.3 KiB
PHP
<?php
|
|
/*************************************************************************************/
|
|
/* This file is part of the Thelia package. */
|
|
/* */
|
|
/* Copyright (c) OpenStudio */
|
|
/* email : dev@thelia.net */
|
|
/* web : http://www.thelia.net */
|
|
/* */
|
|
/* For the full copyright and license information, please view the LICENSE.txt */
|
|
/* file that was distributed with this source code. */
|
|
/*************************************************************************************/
|
|
|
|
namespace Colissimo\Hook;
|
|
|
|
use Thelia\Core\Event\Hook\HookRenderEvent;
|
|
use Thelia\Core\Hook\BaseHook;
|
|
|
|
/**
|
|
* Class HookManager
|
|
* @package Colissimo\Hook
|
|
* @author Thomas Arnaud <tarnaud@openstudio.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]));
|
|
}
|
|
}
|