public function onMenuConfigure(ConfigureMenuEvent $event)
 {
     $menu = $event->getMenu('assortment');
     $productMenu = $menu->addChild('product_group')->setLabel($this->translate('orkestro.backend.product'))->setCurrent(preg_match('/^orkestro_backend_product_/', $this->currentRoute))->setChildrenAttributes(array('icon' => 'cubes'));
     $productMenu->addChild('product', array('route' => 'orkestro_backend_product_list'))->setLabel($this->translate('orkestro.backend.product'))->setCurrent(preg_match('/^orkestro_backend_product_/', $this->currentRoute));
     $productMenu->addChild('product_kind', array('route' => 'orkestro_backend_product_kind_list'))->setLabel($this->translate('orkestro.backend.product_kind'))->setCurrent(preg_match('/^orkestro_backend_product_kind_/', $this->currentRoute));
     $productMenu->addChild('product_characteristic', array('route' => 'orkestro_backend_product_characteristic_list'))->setLabel($this->translate('orkestro.backend.product_characteristic'))->setCurrent(preg_match('/^orkestro_backend_product_characteristic_/', $this->currentRoute));
 }
 public function onMenuConfigure(ConfigureMenuEvent $event)
 {
     $menu = $event->getMenu('assortment');
     $menu->addChild('manufacturer', array('route' => 'orkestro_backend_manufacturer_list'))->setLabel($this->translate('orkestro.backend.manufacturer'))->setCurrent(preg_match('/^orkestro_backend_manufacturer_/', $this->currentRoute))->setChildrenAttributes(array('icon' => 'wrench'));
 }
 public function onMenuConfigure(ConfigureMenuEvent $event)
 {
     $menu = $event->getMenu('configuration');
     $menu->addChild('locale', array('route' => 'orkestro_backend_locale_list'))->setLabel($this->translate('orkestro.backend.locale'))->setCurrent(preg_match('/^orkestro_backend_locale_/', $this->currentRoute))->setChildrenAttributes(array('icon' => 'font'));
 }