public function viewParentExtraInfoAction(Location $location)
    {
        $repository = $this->getRepository();
        $parentLocation = $repository->getLocationService()->loadLocation($location->parentLocationId);

        // TODO once the keyword service is available replace part this subrequest by a full symfony one

        return $this->render(
            'eZDemoBundle:parts/blog:extra_info.html.twig',
            array('location' => $parentLocation)
        );
    }
public function viewParentExtraInfoAction(Location $location)
    {
        $repository = $this->getRepository();
        $parentLocation = $repository->getLocationService()->loadLocation($location->parentLocationId);

        // TODO once the keyword service is available replace part this subrequest by a full symfony one

        return $this->render(
            'eZDemoBundle:parts/blog:extra_info.html.twig',
            array('location' => $parentLocation)
        );
    }
public function viewParentExtraInfoAction ( Location $ location ) { $ repository = $ this -> getRepository ( ) ; $ parentLocation = $ repository -> getLocationService ( ) -> loadLocation ( $ location -> parentLocationId ) ; // TODO once the keyword service is available replace part this subrequest by a full symfony one return $ this -> render ( 'eZDemoBundle:parts/blog:extra_info.html.twig' , array ( 'location' => $ parentLocation ) ) ; }
Displays description, tagcloud, tags, ezarchive and calendar
of the parent's of a given location.

@param \eZ\Publish\API\Repository\Values\Content\Location $location
@return \Symfony\Component\HttpFoundation\Response
Displays description tagcloud tags ezarchive and calendar of the parent s of a given location .