Skip to content

Commit

Permalink
[Admin] Set explicit priorities for footer hookable in default views …
Browse files Browse the repository at this point in the history
…hook configs
  • Loading branch information
Rafikooo committed May 6, 2024
1 parent 57e7dca commit 354fe48
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ twig_hooks:
configuration:
render_rest: true
footer:
template: '@SyliusAdmin/Shared/Crud/Common/Content/footer.html.twig'
template: '@SyliusAdmin/shared/crud/common/content/footer.html.twig'
priority: -100

'sylius_admin.common.create.content.header':
breadcrumbs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ twig_hooks:
configuration:
render_rest: true
footer:
template: '@SyliusAdmin/Shared/Crud/Common/Content/footer.html.twig'
template: '@SyliusAdmin/shared/crud/common/content/footer.html.twig'
priority: -100

'sylius_admin.common.update.content.header':
breadcrumbs:
Expand Down

0 comments on commit 354fe48

Please sign in to comment.