Call to undefined method UpdateBlockForm::getEntity() in InlineEntityFormComplex when using in nested Layout Builder content blocks.

Created on 5 June 2025, about 1 month ago

Problem/Motivation

When using the Complex Widget on a block to add nested blocks in Layout Builder, the following error occurs:

Error: Call to undefined method Drupal\layout_builder\Form\UpdateBlockForm::getEntity() in Drupal\inline_entity_form\Plugin\Field\FieldWidget\InlineEntityFormComplex->extractFormValues() (line 731 of /data/sites/web/xxxxx/web/modules/contrib/inline_entity_form/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php).

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium stijnstroobants Leuven

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

Comments & Activities

Production build 0.71.5 2024