Module Description
This module has been designated "deprecated" by its maintainers. Sites using this module should switch to layout_builder_iframe_modal. Layout Builder iFrame Modal opens editing interfaces within a modal that uses the site's native administrative theme. It therefore provides a fail-proof look and feel that Media Library Theme Reset, which overrides front-end CSS, cannot.
The maintainers' decision to mark this module as outdated can be reviewed in this issue.
Timeline
* Until November 2023: Status is "Deprecated" but still "Supported"
* After November 2023: Status becomes "Unsupported" but module is still available for use
Summary
Improve theming of the core Media Library when used with Layout Builder.
Problem
The core Media Library, when used in the context of Layout Builder, displays with the site's front-end theme rather than the admin theme. Since most front-end themes are not designed for Drupal form editing, the Media Library can end up looking awkward.
Solution
It has not been not possible to use a Drupal admin theme in Layout Builder (see #3050508: Media library loads front-end theme when invoked from settings tray), so this module simulates an administrative look and feel for the Media Library within the front-end theme.
Rather than requiring themes to add additional logic to display Drupal forms sufficiently, this module takes on the responsibility of replicating Seven's CSS and attaching it, as a library, in the context of the Media Library, when accessed via Layout Builder.
The maintainers' decision to mark this module as outdated can be reviewed in this issue.
Timeline
* Until November 2023: Status is "Deprecated" but still "Supported"
* After November 2023: Status becomes "Unsupported" but module is still available for use
Summary
Improve theming of the core Media Library when used with Layout Builder.
Problem
The core Media Library, when used in the context of Layout Builder, displays with the site's front-end theme rather than the admin theme. Since most front-end themes are not designed for Drupal form editing, the Media Library can end up looking awkward.
Solution
It has not been not possible to use a Drupal admin theme in Layout Builder (see #3050508: Media library loads front-end theme when invoked from settings tray), so this module simulates an administrative look and feel for the Media Library within the front-end theme.
Rather than requiring themes to add additional logic to display Drupal forms sufficiently, this module takes on the responsibility of replicating Seven's CSS and attaching it, as a library, in the context of the Media Library, when accessed via Layout Builder.
Module Link
Project Usage
10630
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to improve the theming of the core Media Library when used with Layout Builder by simulating an administrative look and feel within the front-end theme.
Data Name
media_library_theme_reset