BlockDecoratorForm requires SectionComponentTrait which does not exist

Created on 15 February 2024, 8 months ago

Problem/Motivation

This module cannot be installed even after requiring it using composer without adding a core patch that creates the SectionComponentTrait. The core issue that contains the patch is https://www.drupal.org/project/drupal/issues/2916876 ✨ Add visibility control conditions to blocks within Layout Builder Needs work

Steps to reproduce

1. Create fresh drupal 10 site (tested locally using ddev)
2. composer require 'drupal/lb_block_decorator:1.0.x-dev@dev'
3. Enable module and get PHP Fatal Error: Trait "Drupal\layout_builder\SectionComponentTrait: not found in .../BlockDecoratorForm.php on line 25

Proposed resolution

Either document this requirement or remove use of the trait.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States drakythe

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

Comments & Activities

Production build 0.71.5 2024