/** * @param ConfigureMenuEvent $event */ public function configureMenu(ConfigureMenuEvent $event) { $menu = $event->getMenu(); if (!($seo = $menu->getChild('SEO'))) { return; } $seo->addChild('Настройки robots', ['route' => 'vesax.seo.admin.robots.edit']); }
public function addMenuItems(ConfigureMenuEvent $event) { $menu = $event->getMenu(); $child = $menu->addChild('reports', array('route' => 'app_reports_index', 'labelAttributes' => array('icon' => 'fa fa-bar-chart'))); $child->setLabel('Daily and monthly reports'); }
/** * @param ConfigureMenuEvent $event */ public function addMenuItems(ConfigureMenuEvent $event) { $menu = $event->getMenu(); $menu->addChild($this->translator->trans(' fm_yaml_menu'))->setExtra('icon', "<i class=\"fa fa-lg fa-fw fa fa-cogs\"></i>")->addChild($this->translator->trans(' fm_yaml_menu'), array('route' => 'yaml_menu_admin_list')); }
public function addMenuItems(ConfigureMenuEvent $event) { $menu = $event->getMenu(); $child = $menu->addChild('reports', array('route' => 'parser', 'labelAttributes' => array('icon' => 'fa fa-bar-chart'))); $child->setLabel('Tests parsers'); }