Пример #1
0
 public function buildView(NavigationView $view, NavigationInterface $navigation, array $options)
 {
     parent::buildView($view, $navigation, $options);
     $view->vars['menu'] = $options['menu'];
 }
Пример #2
0
 public function buildView(NavigationView $view, NavigationInterface $navigation, array $options)
 {
     parent::buildView($view, $navigation, $options);
     $view->vars['orientation'] = $options['orientation'];
     $view->vars['data-class'] = $options['data-class'];
 }