Files
apart-moment/local/modules/Tinymce/Hook/HookManager.php
2021-03-23 13:54:38 +01:00

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 Tinymce\Hook;
use Thelia\Core\Event\Hook\HookRenderEvent;
use Thelia\Core\Hook\BaseHook;
/**
* Class HookManager
*
* @package Tinymce\Hook
* @author Franck Allimant <franck@cqfdev.fr>
*/
class HookManager extends BaseHook
{
public function onJsWysiwyg(HookRenderEvent $event)
{
$content = $this->render("tinymce_init.tpl");
$event->add($content);
}
}