sylius_twig_hooks:
    hooks:
        'sylius_admin.product_review.update.content':
            form:
                component: 'sylius_admin:product_review:form'
                props:
                    resource: '@=_context.resource'
                    form: '@=_context.form'
                    template: '@SyliusAdmin/shared/crud/common/content/form.html.twig'
                configuration:
                    render_rest: false
                priority: 0

        'sylius_admin.product_review.update.content.form':
            sections:
                template: '@SyliusAdmin/product_review/form/sections.html.twig'
                priority: 0

        'sylius_admin.product_review.update.content.form.sections':
            general:
                template: '@SyliusAdmin/product_review/form/sections/general.html.twig'
                priority: 100
            info:
                template: '@SyliusAdmin/product_review/form/sections/info.html.twig'
                priority: 0

        'sylius_admin.product_review.update.content.form.sections.general':
            default:
                enabled: false
            title:
                template: '@SyliusAdmin/product_review/form/sections/general/title.html.twig'
                priority: 200
            comment:
                template: '@SyliusAdmin/product_review/form/sections/general/comment.html.twig'
                priority: 100
            rating:
                template: '@SyliusAdmin/product_review/form/sections/general/rating.html.twig'
                priority: 0

        'sylius_admin.product_review.update.content.form.sections.info':
            status:
                template: '@SyliusAdmin/product_review/form/sections/info/status.html.twig'
                priority: 200
            product:
                template: '@SyliusAdmin/product_review/form/sections/info/product.html.twig'
                priority: 100
            author:
                template: '@SyliusAdmin/product_review/form/sections/info/author.html.twig'
                priority: 0

        'sylius_admin.product_review.update.content.form.sections.info.product':
            header:
                template: '@SyliusAdmin/product_review/form/sections/info/product/header.html.twig'
                priority: 200
            body:
                template: '@SyliusAdmin/product_review/form/sections/info/product/body.html.twig'
                priority: 100
            footer:
                template: '@SyliusAdmin/product_review/form/sections/info/product/footer.html.twig'
                priority: 0

        'sylius_admin.product_review.update.content.form.sections.info.author':
            header:
                template: '@SyliusAdmin/product_review/form/sections/info/author/header.html.twig'
                priority: 200
            body:
                template: '@SyliusAdmin/product_review/form/sections/info/author/body.html.twig'
                priority: 100
            footer:
                template: '@SyliusAdmin/product_review/form/sections/info/author/footer.html.twig'
                priority: 0
