-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore - Splitting Twig hooks configuration in test application #236
base: main
Are you sure you want to change the base?
Chore - Splitting Twig hooks configuration in test application #236
Conversation
@@ -1,64 +1,8 @@ | |||
imports: | |||
- { resource: '../sylius/twig_hooks/**/**' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to make a poll on it and make an ADR or something. Currently sylius-standard/plugin-skeleton and other places uses all kind of notations.
sylius_twig_hooks: | ||
hooks: | ||
'app.base': | ||
content: | ||
template: 'base/content.html.twig' | ||
|
||
'sylius_admin.common.show.content': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hookable is not extracted into separate file -- is this intentional?
configuration: | ||
icon: tabler:list-details | ||
|
||
'sylius_admin.book.index.content.header': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hookable is not extracted into separate file -- is this intentional?
'configuration' => [ | ||
'title' => 'app.ui.new_conference', | ||
'icon' => 'tabler:plus', | ||
'subheader' => 'app.ui.managing_your_conferences', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On unrelated note, it should be either title / subtitle
or header / subheader
No description provided.