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:
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content display, Content editing experience
- Ecosystem: Layout, UI Suite - Design Systems with Drupal, Layout Builder
1,770 sites report using this module
- Created by cgmonroe on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-1.x-dev updated 16 Oct 2024 at 11:22 UTC



