Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module applies the Gin admin theme's styling to Drupal's Layout Builder. It uses a CSS prefix to prevent conflicts with your site's frontend theme.

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

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
5
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

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