Paragraph theme_hook breaks Paragraphs Layout as attributes variable is empty

Created on 4 June 2025, about 2 months ago

Problem/Motivation

When using Paragraph Layouts form widget the editing controls are missing because the attributes variable is empty.

Steps to reproduce

- Install this module
- Install Paragraphs Layout
- Configure a content type to have a paragraphs field set to this paragraph type
- Configure the manage form display of the paragraphs field to use Paragraph Layouts
- Create a piece of content
- Add this paragraph type using the UI
- Observe that after creating the component there are no controls to edit or delete it

Proposed resolution

Remove the "render element" key in the implementation of hook_theme

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nsciacca

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

Comments & Activities

Production build 0.71.5 2024