public function getNavigationAction() { $pool = $this->get('sulu_admin.admin_pool'); $navigation = $pool->getNavigation(); $view = $this->view($navigation->toArray(), 200); return $this->handleView($view); }