Layout Builder Extras - View mode selector
This module enhances the view mode selection process by allowing you to assign icons or images to view modes, making them more visually appealing and user-friendly on the front end. It provides a selectable list of view modes with custom icons, and you can configure which view modes are exposed with their associated images for each block content type, all deployable via configuration.
What does it do?
It allows you to add icons/images to your view modes so it's nicer and more user friendly to select a view mode in the front end.
It used to be a select list of all view modes and now it's a selectable "list" with icons.
On every block content type you can select which view modes should be exposed to the frontend and which icons/images should be added.
How does it differ to the other "view mode selectors"
- Well this module builds upon core
- No need to add extra fields and other stuff.
- Allows it to be deployable! (Path to image + exportable via config)
Check out my other modules:
Depends on
Dependencies of the latest stable release
- layout_builder Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.1 | Stable | 10–11 | d11 + gitlab ci | Apr 18, 2025 |