Allowed using table.html.twig in Twig's embed
#1810
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Description:
This PR allows table to be used in
{% embed %}in Twig.Basically each file introduces blocks that can be overwritten by providing custom block shape.
For example:
{% embed '@ibexadesign/ui/component/table/table.html.twig' with { headline, head_cols: [ { content: 'product.list.column.name'|trans|desc('Name') }, { content: 'product.list.column.thumbnail'|trans|desc('Image') }, { content: 'product.list.column.code'|trans|desc('Code') }, { content: 'product.list.column.type'|trans|desc('Type') }, { content: 'product.list.column.created'|trans|desc('Created') }, { content: 'product.list.column.variant'|trans|desc('Variant') }, ], actions, body_rows, empty_table_info_text, empty_table_action_text, } %} {% endembed %}For QA:
Documentation: