Setting a default value for a media image field

Created on 26 April 2022, about 2 years ago
Updated 17 March 2023, over 1 year ago

I'm trying to set a default value on an entity reference field that accepts media of the image type. I assume I can't do this with the "Set value or default value" plugin as it seems to only work with simple text values. Therefore, I'll need to write a custom plugin.

I haven't been able to find any examples of someone else doing this, but wanted to post here to see if anyone knows of anything that could help before I dive in.

Thanks.

πŸ’¬ Support request
Status

Active

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States davedg629

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024