- Issue created by @drakythe
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
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
Either document this requirement or remove use of the trait.
Active
1.0
Code