Does not work without Layoutbuilder at the Moment

Created on 24 January 2022, almost 3 years ago
Updated 22 November 2024, 1 day ago

Problem/Motivation

$ drush en field_css
[error] Error: Class 'Drupal\layout_builder\LayoutBuilderEvents' not found in Drupal\field_css\EventSubscriber\BlockComponentRenderArray::getSubscribedEvents() (line 21 of /web/modules/contrib/field_css/src/EventSubscriber/BlockComponentRenderArray.php)

Steps to reproduce

Try to install the module without layoutbuilder in Drupal 8

Proposed resolution

Check if Layoutbuilder is there before it is used or define a dependency.

Remaining tasks

discuss & implement

User interface changes

no

API changes

no

Data model changes

no

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany zuernbernhard

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