sylius_twig_hooks:
    hooks:
        'sylius_admin.payment_method.create.content':
            form:
                component: 'sylius_admin:payment_method:form'
                props:
                    resource: '@=_context.resource'
                    form: '@=_context.form'
                    template: "@SyliusAdmin/payment_method/form.html.twig"
                priority: 0

        'sylius_admin.payment_method.create.content.form':
            sections:
                template: '@SyliusAdmin/payment_method/form/sections.html.twig'
                priority: 0

        'sylius_admin.payment_method.create.content.form.sections':
            general:
                template: '@SyliusAdmin/payment_method/form/sections/general.html.twig'
                priority: 200
            gateway_configuration:
                template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration.html.twig'
                priority: 100
            translations:
                template: '@SyliusAdmin/payment_method/form/sections/translations.html.twig'
                priority: 0

        'sylius_admin.payment_method.create.content.form.sections.general':
            default:
                enabled: false
            code:
                template: '@SyliusAdmin/payment_method/form/sections/general/code.html.twig'
                priority: 300
            position:
                template: '@SyliusAdmin/payment_method/form/sections/general/position.html.twig'
                priority: 200
            enabled:
                template: '@SyliusAdmin/payment_method/form/sections/general/enabled.html.twig'
                priority: 100
            channels:
                template: '@SyliusAdmin/payment_method/form/sections/general/channels.html.twig'
                priority: 0

        'sylius_admin.payment_method.create.content.form.sections.gateway_configuration':
            type:
                template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration/type.html.twig'
                priority: 100
            use_payum:
                template: '@SyliusAdmin/payment_method/form/sections/gateway_configuration/use_payum.html.twig'
                priority: 0

        'sylius_admin.payment_method.create.content.form.sections.translations':
            name:
                template: '@SyliusAdmin/payment_method/form/sections/translations/name.html.twig'
                priority: 200
            description:
                template: '@SyliusAdmin/payment_method/form/sections/translations/description.html.twig'
                priority: 100
            instructions:
                template: '@SyliusAdmin/payment_method/form/sections/translations/instructions.html.twig'
                priority: 0
