Error: Call to undefined method Drupal\ds\Form\BlockFieldConfigForm::getEntity() in ds_field_formatter_third_party_settings_form() (line 1060 of modules/contrib/ds/ds.module).

Created on 31 January 2024, 11 months ago
Updated 23 February 2024, 10 months ago

Problem/Motivation

When trying to load a Field Block's "Configure Block" form I get an error:

Error: Call to undefined method Drupal\ds\Form\BlockFieldConfigForm::getEntity() in ds_field_formatter_third_party_settings_form() (line 1060 of modules/contrib/ds/ds.module).

When I open up the ds.module file in my IDE, it complains that the getEntity() method does not exist on the object.

Link to line: https://git.drupalcode.org/project/ds/-/blob/e1460d86a000e21cd9753bde018...

I am also receiving this warning about line 1050:

Warning: Undefined array key "base_form_id" in ds_field_formatter_third_party_settings_form() (line 1050 of modules/contrib/ds/ds.module).

Steps to reproduce

1. Create a new Field Block using a Layout Builder block.
2. Edit the Field Block.
2. Click the "Configure Block" link.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

3.18

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joegl

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

Comments & Activities

Production build 0.71.5 2024