Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

gin_lb

4,570 sites Security covered
View on drupal.org

Layout Builder in Gin Style.

This module brings the gin admin theme to the layout builder.

Conflicts with your frontend theme.

To avoid conflicts with your frontend theme, the module adds a CSS prefix "glb-" to all layout builder styles.
If your theme uses theme suggestions there could be conflicts with the module theme suggestions from "gin layout builder". To avoid these conflicts add the following code to your hook_theme_suggestions inside your theme.

if (isset($variables['element']['#gin_lb_form'])) {
    return;
}

Develop

Gin layout builder comes with a webpack configuration to builder SCSS styles.
To use them run:

yarn install
yarn dev

Load toastify with composer

To load toastify with composer add

"apvarun/toastify-js": {
  "type": "package",
   "package": {
    "name": "apvarun/toastify-js",
    "version": "v1.11.2",
    "type": "drupal-library",
    "dist": {
      "url": "https://github.com/apvarun/toastify-js/archive/refs/tags/1.11.2.zip",
      "type": "zip"
    }
  }
},

And require "apvarun/toastify-js": "1.11.2" (Thanks @kmonty)

After that switch to composer in gin lb settings.

Overwrite templates.

* Copy the template from the base "templates"
* Add the path to gin_lb_overwritten_themes
* Surrond the attributes inside{{ glb_classes(attributes) }}
To overwrite "glb-" classes just add them to the SASS file and run yarn dev. The POSTCSS processor automatically picks up all "glb-" prefixed class names and adds them to a JSON file, which drupal reads to preprocess the class names inside the glb_classes twig function.

Youtube Video:

https://www.youtube.com/watch?v=aDbZRgY7Xm8&feature=youtu.be

Activity

Total releases
5
First release
Feb 2025
Latest release
8 months ago
Release cadence
37 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
3.0.0-beta1 Pre-release Jul 21, 2025
3.0.x-dev Dev Jul 17, 2025
1.0.0-rc9 Pre-release May 6, 2025
2.0.0-beta1 Pre-release Apr 29, 2025
2.0.x-dev Dev Feb 25, 2025