*/ class BackHook extends BaseHook { /*** * Hook Selection module to the sidebar in tools menu * * @param HookRenderBlockEvent $event */ public function onMainTopMenuTools(HookRenderBlockEvent $event) { $event->add( [ 'id' => 'tools_menu_selection', 'class' => '', 'url' => URL::getInstance()->absoluteUrl('/admin/selection'), 'title' => $this->trans('Selections', [], Selection::DOMAIN_NAME) ] ); } }