Cant add custom block with field states ui using layout builder

Created on 23 July 2021, over 3 years ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation

Error: Call to undefined method Drupal\layout_builder\Form\AddBlockForm::getFormDisplay() in Drupal\field_states_ui\FieldStateBase->applyState() (line 73 of /var/www/html/web/modules/contrib/field_states_ui/src/FieldStateBase.php)

Steps to reproduce

Create a custom block
add some fields with field_states_ui
add the block to layout builder browser
try placing it in some page
see watchdog

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇮🇳India AJV009 Maharashtra

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024