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.