- Issue created by @pdureau
- Status changed to Closed: outdated
5 months ago 6:24pm 26 October 2024
It is possible to add icon_map property to patterns:
icon_map:
- [ title, toto, tutu ]
- [ title, content_main, content_secondary ]
- [ a, b, c, d, e ]
See: https://www.drupal.org/project/ui_patterns/issues/3339670 💬 Be able to provide icons to patterns used as layouts Fixed
It is also possible to add an image with icon_path :
icon_path: "themes/custom/ui_suite_bootstrap/screenshot.png"
But it is not usable yet since the path is not relative to the theme folder.
Because this icon map can help site builders using patterns as layout, let's add them.
Active
1.0
Code