public function placementAction()
{
/** @var \Networking\InitCmsBundle\Entity\MenuItem $rootNode */
$rootNode = $this->admin->getObject($this->get('session')->get('root_menu_id'));
if (!$rootNode) {
throw new NotFoundHttpException();
}
if ($rootNode->getChildren()->count() > 1) {
return $this->listAction(null, null, 'placement', $this->get('session')->get('root_menu_id'));
} else {
return false;
}
}