Be able to provide relative icon path

Created on 4 March 2023, over 1 year ago

Problem/Motivation

This is a follow-up of a discussion in πŸ’¬ Be able to provide icons to patterns used as layouts Fixed .

icon_path is working but it should be path relative to the Drupal installation:

 icon_path: "themes/custom/ui_suite_bootstrap/screenshot.png"

So hard to provide icons in contrib modules/themes.

Proposed resolution

Would it be possible to make it relative to the module/theme providing the pattern or relative to the pattern itself?

What to do in the case of pattern override?

Remaining tasks

Discuss on the solution
Implement it

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

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

Comments & Activities

Production build 0.69.0 2024