local/modules/EasyOrderManager/Hook/BackHook.php line 21

Open in your IDE?
  1. <?php
  2. /*************************************************************************************/
  3. /*      This file is part of the module EasyProductManager.                          */
  4. /*                                                                                   */
  5. /*      Copyright (c) Gilles Bourgeat                                                */
  6. /*      email : gilles.bourgeat@gmail.com                                            */
  7. /*                                                                                   */
  8. /*      This module is not open source                                               /*
  9. /*      please contact gilles.bourgeat@gmail.com for a license                       */
  10. /*                                                                                   */
  11. /*                                                                                   */
  12. /*************************************************************************************/
  13. namespace EasyOrderManager\Hook;
  14. use Thelia\Core\Event\Hook\HookRenderEvent;
  15. use Thelia\Core\Hook\BaseHook;
  16. class BackHook extends BaseHook
  17. {
  18.     public function onMainInTopMenuItems(HookRenderEvent $event)
  19.     {
  20.         $event->add(
  21.             $this->render('EasyOrderManager/hook/main.in.top.menu.items.html', [])
  22.         );
  23.     }
  24. }