Avoid errors if field structure is unexepcted

Created on 13 May 2024, 10 months ago

Problem/Motivation

If the field template is not in the expected structure, this or other similar errors can happen:

Error: Attempt to assign property "_attributes" on array in Drupal\paragraphs_collection\Plugin\paragraphs\Behavior\ParagraphsGridLayoutPlugin

Steps to reproduce

For example combine with another plugin that changes the field render array to something else.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Grid

Created by

🇨🇭Switzerland berdir Switzerland

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

Comments & Activities

Production build 0.71.5 2024