Migration support for layout sections

Created on 4 April 2022, about 3 years ago
Updated 30 October 2023, over 1 year ago

We are looking to migrate content into a layout enabled section. Wondering if there are any examples you could point to that demonstrate adding paragraphs programmatically to a section (layout enabled) set of paragraphs?

Really just hoping to better understand the relation between the section and the paragraphs, creating the paragraphs themselves is well known and documented.

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States ben.hamelin Adirondack Mountains, NY

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.

  • This was pretty much the only example code I found, and it works great (other than adapting the code to use the right layout/region names for my purposes).

    Thanks, @ben.hamelin!

Production build 0.71.5 2024