sulu / SuluHeadlessBundle

Bundle that provides controllers and services for using Sulu as headless content management system
MIT License
45 stars 25 forks source link

Additional properties param for SinglePageSelectionResolver #94

Closed wachterjohannes closed 3 years ago

wachterjohannes commented 3 years ago

As we implemented and recommend to use sulu_content_load with the additional properties we should be able to define that in the XML template to be able to resolve them during serialization in headless mode.

wachterjohannes commented 3 years ago

Is already fixed with:

<property name="page" type="single_page_selection" mandatory="true">
    <meta>
        <title lang="en">Page</title>
        <title lang="de">Seite</title>
    </meta>

    <params>
        <param name="properties" type="collection">
            <param name="excerptImages" value="excerpt.images"/>
        </param>
    </params>
</property>