Overview
Last updated on
12 October 2024
This documentation needs review. See "Help improve this page" in the sidebar.
Layout Options module provides a Layout plugin that allows configuration options to be added to layouts using YAML files.
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 its regions.
- Allowing custom classes to be added.
- Attaching libraries to a layout
Help improve this page
Page status: Needs review
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion