Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

This module lets you create and manage different section variations in Drupal's Layout Builder to customize section appearances. It also provides template suggestions for easy layout customization based on the selected variation.

Requirements

This module requires the following modules to be installed:

  • Drupal core ^10 || ^11
  • Layout Builder

Installation

Use cases

  • Define multiple section variations in order to alter the section appearance
  • Override a specific Layout builder section template

Configuration

This module adds a configuration page where you can define multiple Section variations. The configuration page can be found at /admin/config/content/layout-builder-section-variations

Usage

  • Once the module is enabled and configured, you can start using it on the
    Layout.
  • When you add/edit a section, you will see a new field called
    "Variation". This is a list of all defined Section variations.
  • The selected Section variation will be available in the theme hook suggestions. For example: The Default variation (on a "One column" layout) will now allow you to override the layout.html.twig, layout--onecol.html.twig, layout--default.html.twig and layout--onecol--default.html.twig templates.

Support

This is a contrib module and as such, it's not officially supported by the
Drupal community. However, you can open an issue on the module's page on
drupal.org if you find any bugs or have any feature requests.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0 Stable Oct 16, 2024
1.0.x-dev Dev Oct 16, 2024