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 provides a Layout plugin that allows configuration options to easily be added to layouts using YAML files and LayoutOption plugins. In most cases, using no code just YAML files.

Project overview

Layouts defined in *.layouts.yml files that use the LayoutOptions class provided by this module can then add configuration options using a combination of *.layout_option.yml files and LayoutOption plugins.
The module supplies a set of common LayoutOption plugins.

Some no code examples of configuration options that this module can be built with just Yaml files and the supplied default plugins are:

  • Adding an id attribute to allow anchor references to content.
  • Adding a set of predefined classes users can apply to the layout or it's regions.
  • Allowing custom classes to be added.
  • Attaching libraries to a layout

UI Suite

UI Suite provides a cohesive set of modules to implement full design systems while preserving and improving the Drupal site building experience.

Layout Options was part of UI Suite from March 2020 to October 2024. We are now recommending using SDC components & UI Patterns 2.x.

Showcase

UI Suite themes are all using Layout Options:

Bootstrap 4 & 5 Material Design 2 Mozilla Protocol See layout_options.yml See layout_options.yml See layout_options.yml DSFR (French Gov) USWDS (US Gov) Zurb Foundation See layout_options.yml See layout_options.yml See layout_options.yml

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

Releases

Version Type Core Release date
8.x-1.7 Stable Oct 16, 2024