Change record status: 
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-item
  • media-library-item--grid
  • media-library-item__click-to-select-checkbox
  • media-library-item__content
  • media-library-view
  • media-library-view--widget
  • media-library-item__edit
  • media-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

rgpublic’s picture

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?