sylius_twig_hooks:
    hooks:
        'sylius_admin.shipping_method.create.content':
            form:
                component: 'sylius_admin:shipping_method:form'
                props:
                    form: '@=_context.form'
                    resource: '@=_context.resource'
                    template: '@SyliusAdmin/shipping_method/form.html.twig'
                priority: 0
                    
        'sylius_admin.shipping_method.create.content.form':
            sections:
                enabled: false                    

        'sylius_admin.shipping_method.create.content.form#left':
            general:
                template: '@SyliusAdmin/shipping_method/form/general.html.twig'
                priority: 200
            configuration:
                template: '@SyliusAdmin/shipping_method/form/configuration.html.twig'
                priority: 100
            rules:
                template: '@SyliusAdmin/shipping_method/form/rules.html.twig'
                priority: 0

        'sylius_admin.shipping_method.create.content.form#right':
            translations:
                template: '@SyliusAdmin/shipping_method/form/translations.html.twig'
                priority: 0
                
        'sylius_admin.shipping_method.create.content.form.translations':
            name:
                template: '@SyliusAdmin/shipping_method/form/translations/name.html.twig'
                priority: 100
            description:
                template: '@SyliusAdmin/shipping_method/form/translations/description.html.twig'
                priority: 0

        'sylius_admin.shipping_method.create.content.form.general':
            code:
                template: '@SyliusAdmin/shipping_method/form/general/code.html.twig'
                priority: 300
            enabled:
                template: '@SyliusAdmin/shipping_method/form/general/enabled.html.twig'
                priority: 200
            zone:
                template: '@SyliusAdmin/shipping_method/form/general/zone.html.twig'
                priority: 100
            position:
                template: '@SyliusAdmin/shipping_method/form/general/position.html.twig'
                priority: 0

        'sylius_admin.shipping_method.create.content.form.configuration':
            category:
                template: '@SyliusAdmin/shipping_method/form/configuration/category.html.twig'
                priority: 500
            category_requirement:
                template: '@SyliusAdmin/shipping_method/form/configuration/category_requirement.html.twig'
                priority: 400
            tax_category:
                template: '@SyliusAdmin/shipping_method/form/configuration/tax_category.html.twig'
                priority: 300
            calculator:
                template: '@SyliusAdmin/shipping_method/form/configuration/calculator.html.twig'
                priority: 200
            channels:
                template: '@SyliusAdmin/shipping_method/form/configuration/channels.html.twig'
                priority: 100
            channels_configuration:
                template: '@SyliusAdmin/shipping_method/form/configuration/channels_configuration.html.twig'
                priority: 0
