Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
The D10 issue has been closed for awhile (#3259474: Remove deprecated code from layout_bg), but the tests started running just a couple weeks ago. They had been failing to build because of a dependency that isn't really a dependency. Passing now, so we should be good.
Link underline is now configurable when setting text color. The library was also changed from being theme-level to being component-level, making it easier for themes to override the layout_bg library.
1. Documentation is in good shape
2. The three example modules demonstrate the module can be used as is or easily extended for other purposes
3. It all works in D9.0.0
4. Automated tests offer good coverage
Let's not scare anyone away by leaving this as an alpha any longer.
Please put in issues if there's anything you think we need to do before we go RC.
The major change is that we are using theme_hook instead of template in the definition of layouts. This change makes it easier to leverage layout_bg to add a background to other layouts. A new example, layout_bg_bricks, shows how this is done.
Also added hook_help and fixed a code styling problem.
This release includes an example module that demonstrates how Layout BG can be used to create cool image effects really easily. No changes to the module itself.
Now the "Set Text Color" configuration will apply to links in the text, overriding any global link colors. Links will be underlined.
There is a new "Center Content" configuration which is available if the background image is using the "Static" setting, meaning it takes up space in the DOM.
Tests have been updated to cover the new features.
Major refactoring to make code DRYer and easier to use for your own custom layout plugins. Updated readme to give basic instructions for using this module to make your own layout plugins.