Question about rendering a pattern with settings

Created on 22 August 2023, over 1 year ago
Updated 24 August 2023, over 1 year ago

We are used to working with a patched Twig function named pattern_with_settings so we could pass settings to the patterns, to overcome the impossibility to do so with the standard pattern Twig function.

We were about to open an issue to suggest adding said " class="!text-blue-400 !no-underline" target="_blank" rel="nofollow" >patch , however, looking at a specific pattern (nav-menu), it looks like it is possible to define settings inside the pattern Twig function? But looking at the renderPattern function in ui_pattern module, it shouldn't be functioning..? Could you please clarify this point?

Patch source: ui_patterns_settings/issues/3359380 - Expose Twig function for rendering a pattern with settings support Expose Twig function for rendering a pattern with settings support Closed: outdated

💬 Support request
Status

Closed: works as designed

Version

1.0

Component

Miscellaneous

Created by

🇫🇷France spryah

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024