Esempio n. 1
0
 /**
  * Adds new admin menu items to collection
  *
  * @param AdminMenuEvent $event
  */
 public function onAdminMenuInitEvent(AdminMenuEvent $event)
 {
     $builder = $event->getBuilder();
     $builder->add(new AdminMenuItem(['id' => 'producer', 'name' => $this->translator->trans('menu.catalog.producer'), 'link' => $this->router->generate('admin.producer.index'), 'path' => '[menu][catalog][producer]', 'sort_order' => 30]));
 }
Esempio n. 2
0
 /**
  * Adds new admin menu items to collection
  *
  * @param AdminMenuEvent $event
  */
 public function onAdminMenuInitEvent(AdminMenuEvent $event)
 {
     $builder = $event->getBuilder();
     $builder->add(new AdminMenuItem(['id' => 'currency', 'name' => $this->translator->trans('menu.configuration.localization.currency'), 'link' => $this->router->generate('admin.currency.index'), 'path' => '[menu][configuration][localization][currency]', 'sort_order' => 30]));
 }
Esempio n. 3
0
 /**
  * Adds new admin menu items to collection
  *
  * @param AdminMenuEvent $event
  */
 public function onAdminMenuInitEvent(AdminMenuEvent $event)
 {
     $builder = $event->getBuilder();
     $builder->add(new AdminMenuItem(['id' => 'company', 'name' => $this->translator->trans('Companies'), 'link' => $this->router->generate('admin.company.index'), 'path' => '[menu][configuration][store_management][company]', 'sort_order' => 20]));
 }
Esempio n. 4
0
 /**
  * Adds new admin menu items to collection
  *
  * @param AdminMenuEvent $event
  */
 public function onAdminMenuInitEvent(AdminMenuEvent $event)
 {
     $builder = $event->getBuilder();
     $builder->add(new AdminMenuItem(['id' => 'unit', 'name' => $this->translator->trans('menu.configuration.unit'), 'link' => $this->router->generate('admin.unit.index'), 'path' => '[menu][configuration][unit]', 'sort_order' => 20]));
 }
Esempio n. 5
0
 /**
  * Adds new admin menu items to collection
  *
  * @param AdminMenuEvent $event
  */
 public function onAdminMenuInitEvent(AdminMenuEvent $event)
 {
     $builder = $event->getBuilder();
     $builder->add(new AdminMenuItem(['id' => 'client', 'name' => $this->translator->trans('menu.crm.clients'), 'path' => '[menu][crm][client]', 'sort_order' => 10]));
 }
 /**
  * Adds new admin menu items to collection
  *
  * @param AdminMenuEvent $event
  */
 public function onAdminMenuInitEvent(AdminMenuEvent $event)
 {
     $builder = $event->getBuilder();
     $builder->add(new AdminMenuItem(['id' => 'client_group', 'name' => $this->translator->trans('menu.crm.client_group'), 'link' => $this->router->generate('admin.client_group.index'), 'path' => '[menu][crm][client_group]', 'sort_order' => 20]));
 }