I am experimenting with creating a Landing page with different Paragraphs. Those terms are from our Drupal starter kit, and look like this (there's the "node" view and the node edit page). Very handy for our content editors, that get the freedom to mix & match different structured content)
Drupal's Node view
Drupal's Node edit
Edit: Below is solved :balloon:
We're fetching all paragraphs using fetchRelated, however - how can we order them by weight (as we multiple paragraph types)?
For example. if one CTA had a weight of 1 and another of 3, how can we render it before/ after another paragraph type?
I am experimenting with creating a Landing page with different Paragraphs. Those terms are from our Drupal starter kit, and look like this (there's the "node" view and the node edit page). Very handy for our content editors, that get the freedom to mix & match different structured content)
Edit: Below is solved :balloon:
We're fetching all paragraphs using
fetchRelated
, however - how can we order them by weight (as we multiple paragraph types)?For example. if one CTA had a weight of 1 and another of 3, how can we render it before/ after another paragraph type?