getViewBuilder('node'); // dpm($vars); // render the presentation node $vars["presentation"] = array( $view_builder->view($vars["presentation_node"], 'default') ); // render the last fil node $vars["last_fil"] = $view_builder->view($vars['last_fil_node'], 'teaser'); // render the last production node $vars["last_production"] = $view_builder->view($vars['last_production_node'], 'teaser'); // render the next events of agenda as list $agenda = array ( '#theme' => 'item_list', '#items' => [], ); foreach($vars['agenda_items'] as $node){ $agenda['#items'][] = $view_builder->view($node, 'teaser'); } $vars['agenda'] = render($agenda); }