By phenaproxima on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.8.x
Introduced in version:
8.8.0
Description:
Prior to #3087456: Move some representational classes in Media Library to Classy and others to Seven and/or Claro, as appropriate, the media_library view that ships with the Media Library module included a number of CSS classes in various places. The view no longer includes these classes. The complete list of removed classes that could be used for theming/styling is:
media-library-itemmedia-library-item--gridmedia-library-item__click-to-select-checkboxmedia-library-item__contentmedia-library-viewmedia-library-view--widgetmedia-library-item__editmedia-library-item__remove
This change will NOT affect existing sites.
If you want to reset your media_library view to the one that is shipped with the Media Library module, visit /admin/config/development/configuration/single/import and paste in the contents of core/modules/media_library/config/install/views.view.media_library.yml.
Impacts:
Site builders, administrators, editors
Themers
Comments
Doesn't work for me
Firstly, under "/admin/config/development/configuration/single/import" you have to select a "configuration" type. The description doesn't tell me what to select. I tried it with "View" or with "Simple configuration" and "views.view.media_library". Both attempts crash the site. How can I reset the media library view properly?