From 71c243ead2d4c6e2cccddf397235f8cee29c50a1 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Thu, 2 May 2024 18:45:26 +0200 Subject: [PATCH] [Admin] Set explicit priorities for footer hookable in default views hook configs --- .../Resources/config/app/twig_hooks/common/create.yaml | 1 + .../Resources/config/app/twig_hooks/common/index.yaml | 1 + .../AdminBundle/Resources/config/app/twig_hooks/common/show.yaml | 1 + .../Resources/config/app/twig_hooks/common/update.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/create.yaml b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/create.yaml index bf0b66ea5bab..7c48024b495c 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/create.yaml +++ b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/create.yaml @@ -19,6 +19,7 @@ twig_hooks: render_rest: true footer: template: '@SyliusAdmin/Shared/Crud/Common/Content/footer.html.twig' + priority: -100 'sylius_admin.common.create.content.header': breadcrumbs: diff --git a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/index.yaml b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/index.yaml index 81acf9ea393b..e3b32c3d63f7 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/index.yaml +++ b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/index.yaml @@ -17,6 +17,7 @@ twig_hooks: template: '@SyliusAdmin/Shared/Crud/Index/Content/_grid.html.twig' footer: template: '@SyliusAdmin/Shared/Crud/Common/Content/footer.html.twig' + priority: -100 'sylius_admin.common.index.content.header': breadcrumbs: diff --git a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/show.yaml b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/show.yaml index 7e89c762b3d8..ab1b0e04312a 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/show.yaml +++ b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/show.yaml @@ -15,6 +15,7 @@ twig_hooks: template: '@SyliusAdmin/Shared/Crud/Common/Content/_header.html.twig' footer: template: '@SyliusAdmin/Shared/Crud/Common/Content/footer.html.twig' + priority: -100 'sylius_admin.common.show.content.header': breadcrumbs: diff --git a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/update.yaml b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/update.yaml index 338b3de652cc..69c8d879f2b1 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/update.yaml +++ b/src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/update.yaml @@ -19,6 +19,7 @@ twig_hooks: render_rest: true footer: template: '@SyliusAdmin/Shared/Crud/Common/Content/footer.html.twig' + priority: -100 'sylius_admin.common.update.content.header': breadcrumbs: