Problem/Motivation
If a Subtheme is created and you like to use styleguide as intended this is not possible right now, because of a missing plugin.
AH01071: Got error 'PHP message: Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "blb_col_1" plugin does not exist. Valid plugin IDs for Drupal\\Core\\Layout\\LayoutPluginManager are: bs_1col, bs_1col_stacked, bs_2col, bs_2col_bricked, bs_2col_stacked, bs_3col, bs_3col_bricked, bs_3col_stacked, bs_4col, bs_4col_bricked, bs_4col_stacked, layout_twocol_section, layout_threecol_section, layout_fourcol_section, layout_onecol, layout_twocol, layout_twocol_bricks, layout_threecol_25_50_25, layout_threecol_33_34_33, ds_1col, ds_1col_wrapper, ds_2col, ds_2col_fluid, ds_2col_stacked, ds_2col_stacked_fluid, ds_3col, ds_3col_equal_width, ds_3col_stacked, ds_3col_stacked_fluid, ds_3col_stacked_equal_width, ds_4col, ds_reset, vertical_media_teaser_xlarge, vertical_media_teaser_large, vertical_media_teaser_medium, vertical_media_teaser_small, vertical_media_teaser_xsmall, horizontal_media_teaser_xlarge, horizontal_media_teaser_large, horizontal_media_teaser_medium, horizontal_media_teaser_small,...', referer: http://h2941247.stratoserver.net/admin/appearance
Steps to reproduce
Install Varbase as usual
Enable styleguide
Create a varbase-bs4 subtheme by using the script
Set the subtheme as default
Click the styleguide tab and select the theme
The error above will be the result
Proposed resolution
Fix missing plugin to make styleguide greeate, again
Add the patch for #3184083: Fix invalid id passed to layout plugin
Pass the layout not definition id. which will add the extension name if the layout was a dynamic layout.
Remaining tasks
- Fix issue
- Patch
- Test
- Review
- Release
User interface changes
- None
API changes
- None
Data model changes
- None
https://www.drupal.org/files/issues/2021-07-25/AwesomeScreenshot-product...




Comments
Comment #2
rajab natshahThank you, Joachim for reporting.
I confirm the issue. With any theme.
It's the Bootstrap Layout Builder custom dynamic layout.
Having the Default, Full Content.
I may try to remove the
defaultandfullview modes from the list of view modes in theadmin/appearance/styleguideHaving a view mode with a Layout Builder enabled. But at the style guide feels that BLB is not loading for the view mode.
Comment #3
rajab natshahComment #4
rajab natshahThe "blb_col_1" plugin does not exist. Valid plugin IDs for Drupal\Core\Layout\LayoutPluginManager are:
blb_col_1 is the bootstrap_layout_builder:blb_col_1
Could be fixed in Varbase Layout Builder ... and then in Bootstrap Layout Builder too ..
Comment #5
rajab natshah#3184083: Fix invalid id passed to layout plugin
Comment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshahAdded the patch for #3184083: Fix invalid id passed to layout plugin
Pass the layout not definition id. which will add the extension name if the layout was a dynamic layout.
Comment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshah