Followup D11 compatability

Created on 14 February 2025, 2 months ago

Problem/Motivation

📌 Automated Drupal 11 compatibility fixes for layout_builder_at Needs review seems to have introduced a bug:

Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '500' frames in layout_builder_at_form_entity_form_display_edit_form_alter() (line 66 of modules/contrib/layout_builder_at/layout_builder_at.module). 
....
Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall('10.4.2', '11.1', Object, Object) (Line: 80)
layout_builder_at_form_entity_form_display_edit_form_alter(Array, Object) (Line: 87)
{closure}() (Line: 40)
Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall('10.4.2', '11.1', Object, Object) (Line: 80)
layout_builder_at_form_entity_form_display_edit_form_alter(Array, Object, 'entity_form_display_edit_form') (Line: 552)

Steps to reproduce

Not entirely sure, I'm currently working with the External Entities module and D10.4.2 and try to access the form display settings.

Proposed resolution

I think the issue is that deprecatedCallable isn't declared correctly.

Remaining tasks

  1. Write Code
  2. Review
  3. Merge

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇭Switzerland das-peter

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024