Container Paragraphs: Rename the "background image" fields to just "background" because we also support video backgrounds in meantime

Created on 6 July 2021, over 3 years ago
Updated 8 March 2024, 10 months ago

1. Rename the fields
- field_paragraphs_background_img (media reference) => field_paragraphs_bg_media
- field_paragraphs_bgimage_classes (text) => field_paragraphs_bg_classes
- field_paragraphs_bgimage_options (select) => field_paragraphs_bg_options

via update-hook so that the change is safe. We've decided to also allow local video, but to keep the old name until we write an update hook so that old installations don't break!

2. Reference allowed media types with "background" view mode created here: #3222340: Create background media view-mode

3. Later: #3222345: Move referenced entitiy related settings into entity formatter with 3rd party settings

4. Rename CSS classes
5. Rename Javascript functions, variables and stuff
6. Rename Library

📌 Task
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

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.71.5 2024