Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292540

[PP-1] The Media library doesn't modify the "media" view if installed in a profile

$
0
0

Problem/Motivation

The Media library currently implements an install hook that changes the path of the default "media" view so that the Grid appears first at /admin/content/media. This works fine if the library is installed after the Media and Views modules, but if the library is installed as a profile dependency the "media" view does not exist when the library's install hook is invoked. This is due to a quirk in profile installs where optional config is installed _after_ all modules are installed.

Proposed resolution

Handle the case where the "media" view is created _after_ the library is installed.

Remaining tasks

Review the patch.

User interface changes

None.

API changes

None.

Data model changes

None.


Viewing all articles
Browse latest Browse all 292540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>