Settings form crashes if menu_link_content field with lazy enabled exists

Created on 27 March 2023, over 1 year ago

Problem/Motivation

The settings form crashes with the following error if a field with lazy enabled exists on the menu_link_content entity type.

Steps to reproduce

  1. Install Menu Item Extras β†’ and add a lazy loaded image field
  2. Visit the settings form of this module

Proposed resolution

Use $entity_type->getBundleEntityType() instead of hardcoding bundle entity types.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium DieterHolvoet Brussels

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

Comments & Activities

Production build 0.69.0 2024