Problem/Motivation
Library API can find files also into the /libraries folder so it could be used for manage external libraries defined in contrib modules (i.e. to hold javascript file with a different license than Drupal). These modules require a way to verify the existence of the required files (maybe in hook_requirements) so they can notify the user to download the library into the /libraries folder.
Proposed resolution
We could add a new method into LibraryDiscovery class to verify that required files exist.
Remaining tasks
- The patch is ready for review
- Tests to be written
- Documentation to be written
User interface changes
None
API changes
None (just a new method added to the class LibraryDiscovery)