Error: Call to undefined function layout_builder_form_entity_form_display_edit_form_alter() in layout_builder_at_form_entity_form_display_edit_form_alter() (line 56 of /home/webhiopk/webhaven/production/web/modules/contrib/layout_builder_at/layout_builder

Created on 9 February 2025, 5 months ago

Problem/Motivation

The module seems to call a function that doesn't exist anymore in Drupal 11.

Steps to reproduce

  1. Install a Drupal 11 website
  2. Install the latest layout_builder_at module (Mine is patched see below)
  3. Create a block type to use in layout builder
  4. Go to the form display of this block, the error hits

Patch:

"drupal/layout_builder_at": {
                "#3431569: Drupal 11 compatibility": "https://www.drupal.org/files/issues/2024-10-18/D11-compatibility-3431569-8.patch"
            },

Remaining tasks

Look for a solution for the code at layout_builder_at line 56:

  if ($hide) {
    layout_builder_form_entity_form_display_edit_form_alter($form, $form_state);
  }
🐛 Bug report
Status

Active

Version

2.13

Component

Code

Created by

🇧🇪Belgium f0ns

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

Comments & Activities

Production build 0.71.5 2024