public function listPlaceListAction(Location $location)
    {
        /** @var \EzSystems\DemoBundle\Helper\PlaceHelper $placeHelper */
        $placeHelper = $this->get('ezdemo.place_helper');

        $places = $placeHelper->getPlaceList(
            $location,
            $this->container->getParameter('ezdemo.places.place_list.content_types'),
            $this->getConfigResolver()->getParameter('languages')
        );

        return $this->render(
            'eZDemoBundle:parts/place:place_list.html.twig',
            array('places' => $places)
        );
    }
public function listPlaceListAction(Location $location)
    {
        /** @var \EzSystems\DemoBundle\Helper\PlaceHelper $placeHelper */
        $placeHelper = $this->get('ezdemo.place_helper');

        $places = $placeHelper->getPlaceList(
            $location,
            $this->container->getParameter('ezdemo.places.place_list.content_types'),
            $this->getConfigResolver()->getParameter('languages')
        );

        return $this->render(
            'eZDemoBundle:parts/place:place_list.html.twig',
            array('places' => $places)
        );
    }
public function listPlaceListAction ( Location $ location ) { /** @var \EzSystems\DemoBundle\Helper\PlaceHelper $placeHelper */ $ placeHelper = $ this -> get ( 'ezdemo.place_helper' ) ; $ places = $ placeHelper -> getPlaceList ( $ location , $ this -> container -> getParameter ( 'ezdemo.places.place_list.content_types' ) , $ this -> getConfigResolver ( ) -> getParameter ( 'languages' ) ) ; return $ this -> render ( 'eZDemoBundle:parts/place:place_list.html.twig' , array ( 'places' => $ places ) ) ; }
Displays all the places contained in a place list.

@param \eZ\Publish\API\Repository\Values\Content\Location $location of a place_list

@return \Symfony\Component\HttpFoundation\Response
Displays all the places contained in a place list .