Hi there,
Firstly, thanks for taking the time to contribute and maintain this module.
I noticed a bug when trying to add some of the components (e.g. tab): -
ArgumentCountError: Too few arguments to function Drupal\\layout_builder_kit\\Plugin\\Block\\LBKBaseComponent::__construct(), 3 passed in layout_builder_kit\\src\\Plugin\\Block\\LBKTab\\LBKTab.php on line 112 and exactly 4 expected in layout_builder_kit\\src\\Plugin\\Block\\LBKBaseComponent.php on line 59
This is easy to resolve by adding the fourth argument to the inherited classes create and construct methods, e.g.: -
- parent::__construct($configuration, $pluginId, $pluginDefinition);
+ parent::__construct($configuration, $pluginId, $pluginDefinition, $currentRouteMatch);
Comments
Comment #2
alvarito75 commentedThanks for reporting this one.
We pushed the fix for this.
You may download the dev version to see the fix.
Comment #3
dubs commentedThanks @alvarito75 for your quick response :-)
Comment #4
alvarito75 commentedComment #5
alvarito75 commented