When I try to install Patternkit on a standard profile Drupal 11.2 site, I get this error:
PHP Fatal error: Trait "Drupal\layout_builder\LayoutEntityHelperTrait" not found in /var/www/web/modules/contrib/patternkit/src/LayoutHelper.php on line 26
- Install Drupal 11.2 with the standard profile
- Try to enable Patternkit module
- Observe the error noted above?
Make Patternkit dependent on Layout Builder? Or somehow only load LB's traits conditionally, e.g., if LB is itself enabled?
Active
9.1
Module Core