Creation of dynamic property $entity is deprecated

Created on 14 June 2024, 9 days ago
Updated 20 June 2024, 2 days ago

Problem/Motivation

Deprecated function: Creation of dynamic property Drupal\layout_paragraphs\LayoutParagraphsLayout::$entity is deprecated in Drupal\layout_paragraphs\LayoutParagraphsLayout->setEntity() (line 112 of modules/contrib/layout_paragraphs/src/LayoutParagraphsLayout.php).

Steps to reproduce

In my case the error is triggered after calling insertIntoRegion()

Proposed resolution

Declare the property on the class.

Remaining tasks

Declare the property on the class.

๐Ÿ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom dahousecat

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024