Exemplo n.º 1
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'open-book');
     $this->setOption('label', $options, 'article.label.article');
     $this->setOption('translationDomain', $options, 'EnhavoArticleBundle');
     $this->setOption('route', $options, 'enhavo_article_article_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_ARTICLE_ARTICLE_INDEX');
     return parent::createMenu($options);
 }
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'exchange');
     $this->setOption('label', $options, 'translation.label.translationString');
     $this->setOption('translationDomain', $options, 'EnhavoTranslationBundle');
     $this->setOption('route', $options, 'enhavo_translation_translation_string_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_TRANSLATION_STRINGS_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 3
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'sound-mix');
     $this->setOption('label', $options, 'product.label.product_option');
     $this->setOption('translationDomain', $options, 'EnhavoShopBundle');
     $this->setOption('route', $options, 'enhavo_shop_product_option_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_SHOP_PRODUCT_OPTION_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 4
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'cycle');
     $this->setOption('label', $options, 'workflow.label.workflow');
     $this->setOption('translationDomain', $options, 'EnhavoWorkflowBundle');
     $this->setOption('route', $options, 'enhavo_workflow_workflow_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_WORKFLOW_WORKFLOW_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 5
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'images');
     $this->setOption('label', $options, 'slider.label.slider');
     $this->setOption('translationDomain', $options, 'EnhavoSliderBundle');
     $this->setOption('route', $options, 'enhavo_slider_slide_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_SLIDER_SLIDE_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 6
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'news');
     $this->setOption('label', $options, 'page.label.page');
     $this->setOption('translationDomain', $options, 'EnhavoPageBundle');
     $this->setOption('route', $options, 'enhavo_page_page_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_PAGE_PAGE_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 7
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'user');
     $this->setOption('label', $options, 'user.label.user');
     $this->setOption('translationDomain', $options, 'EnhavoUserBundle');
     $this->setOption('route', $options, 'enhavo_user_user_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_USER_USER_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 8
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'user-plus');
     $this->setOption('label', $options, 'subscriber.label.subscriber');
     $this->setOption('translationDomain', $options, 'EnhavoNewsletterBundle');
     $this->setOption('route', $options, 'enhavo_newsletter_subscriber_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_NEWSLETTER_SUBSCRIBER_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 9
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'stopwatch');
     $this->setOption('label', $options, 'dashboard.label.dashboard');
     $this->setOption('translationDomain', $options, 'EnhavoDashboardBundle');
     $this->setOption('route', $options, 'enhavo_dashboard_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_DASHBOARD_DASHBOARD_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 10
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'download-1');
     $this->setOption('label', $options, 'download.label.download');
     $this->setOption('translationDomain', $options, 'EnhavoDownloadBundle');
     $this->setOption('route', $options, 'enhavo_download_download_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_DOWNLOAD_DOWNLOAD_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 11
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'shopping-cart');
     $this->setOption('label', $options, 'label.order');
     $this->setOption('translationDomain', $options, 'EnhavoShopBundle');
     $this->setOption('route', $options, 'enhavo_shop_order_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_SHOP_ORDER_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 12
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'calendar-1');
     $this->setOption('label', $options, 'label.calendar');
     $this->setOption('translationDomain', $options, 'EnhavoCalendarBundle');
     $this->setOption('route', $options, 'enhavo_calendar_appointment_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_CALENDAR_APPOINTMENT_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 13
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'th');
     $this->setOption('label', $options, 'category.label.category');
     $this->setOption('translationDomain', $options, 'EnhavoCategoryBundle');
     $this->setOption('route', $options, 'enhavo_category_category_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_CATEGORY_CATEGORY_INDEX');
     return parent::createMenu($options);
 }
Exemplo n.º 14
0
 public function createMenu(array $options)
 {
     $this->setOption('icon', $options, 'cog');
     $this->setOption('label', $options, 'label.setting');
     $this->setOption('translationDomain', $options, 'EnhavoSettingBundle');
     $this->setOption('route', $options, 'enhavo_setting_setting_index');
     $this->setOption('role', $options, 'ROLE_ENHAVO_SETTING_INDEX');
     return parent::createMenu($options);
 }