Initial Commit
This commit is contained in:
19
local/modules/Sitemap/Hook/SitemapHook.php
Normal file
19
local/modules/Sitemap/Hook/SitemapHook.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Sitemap\Hook;
|
||||
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
/**
|
||||
* Class SitemapHook
|
||||
* @package Sitemap\Hook
|
||||
* @author Etienne Perriere <eperriere@openstudio.fr>
|
||||
*/
|
||||
class SitemapHook extends BaseHook
|
||||
{
|
||||
public function onModuleConfig(HookRenderEvent $event)
|
||||
{
|
||||
$event->add($this->render('sitemap-configuration.html'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user