Closed (fixed)
Project:
UI Patterns Settings
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2020 at 09:28 UTC
Updated:
2 Sep 2025 at 17:28 UTC
Jump to comment: Most recent
Comments
Comment #2
milos.kroulik commentedUpdate issue name
Comment #3
christian.wiedemann commentedHi Milos, I am not sure about this feature. Actually, UI Patterns Settings is to configure an existing pattern. And linking media which is content is actually not intended.
But there are use cases from my point of view. Especially when you use it together with layout builder.
It is not planned but it is very easy to write own setting types. Maybe a contrib module ui_pattern_settings_media.
Comment #5
christian.wiedemann commentedHi I added a new SettingType media_library which uses https://www.drupal.org/project/media_library_form_element as widget. Optionally you can specify an view_mode to render the media entity.
Comment #6
christian.wiedemann commentedComment #7
christian.wiedemann commentedComment #8
christian.wiedemann commented