ui_patterns
ui_patterns copied to clipboard
How to choose the variant when you use the twig "pattern" method
How to choose the variant when you use the twig "pattern" method, I did not find in the documentation :
https://ui-patterns.readthedocs.io/en/8.x-1.x/content/developer-documentation.html#render-patterns-using-twig-functions
{{ pattern('button', {title: 'Link title', url: 'http://example.com'}) }}
Thank you very much for this great module! :-)
{{ pattern('button', {title: 'Link title', url: 'http://example.com'}, 'your_variant') }}
Thank you @christianwiedemann
I think this issue can be closed.
I can't, I don't know how this repository is configured and who is allowed to close issue if only maintainers can.