The Grid plugin has introduced a new type of YAML configuration: paragraphs_collection.paragraphs.grid_layout.yml.
It offers a way to define grid layouts that can be reused:
The attributes structure defined in the YAML configuration should be as follows (still temporary):
title: 'Two columns layout'
description: 'Defines a two column layout with 8-4 widths.'
wrapper_classes:
- 'paragraphs-behavior-grid-layout-row'
columns:
- classes:
- 'paragraphs-behavior-grid-layout-col-8'
- classes:
- 'paragraphs-behavior-grid-layout-col-4'
libraries:
- 'paragraphs_collection/grid_layout'
paragraphs_collection.paragraphs.grid_layouts.yml