public function elementsOverview (array $list, array $options = [])
    {
        $options = array_replace(
            [
                "includeNavigation" => true
            ],
            $options
        );

        // this is a flag which tells the component that it is rendered in an elements overview
        $options["inElementsOverview"] = true;

        $elements = array_map(
            function ($reference)
            {
                return new Element($reference);
            },
            $list
        );


        return $this->application["twig"]->render("@core/elements_overview.twig", [
            "elements" => $elements,
            "options" => $options
        ]);
    }
public function elementsOverview (array $list, array $options = [])
    {
        $options = array_replace(
            [
                "includeNavigation" => true
            ],
            $options
        );

        // this is a flag which tells the component that it is rendered in an elements overview
        $options["inElementsOverview"] = true;

        $elements = array_map(
            function ($reference)
            {
                return new Element($reference);
            },
            $list
        );


        return $this->application["twig"]->render("@core/elements_overview.twig", [
            "elements" => $elements,
            "options" => $options
        ]);
    }
public function elementsOverview ( array $ list , array $ options = [ ] ) { $ options = array_replace ( [ "includeNavigation" => true ] , $ options ) ; // this is a flag which tells the component that it is rendered in an elements overview $ options [ "inElementsOverview" ] = true ; $ elements = array_map ( function ( $ reference ) { return new Element ( $ reference ) ; } , $ list ) ; return $ this -> application [ "twig" ] -> render ( "@core/elements_overview.twig" , [ "elements" => $ elements , "options" => $ options ] ) ; }
Renders a overview of the given elements

@param string[] $list
@param array    $options

@return
Renders a overview of the given elements