Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've discovered that modules that check their library's presence in hook_requirements() using libraries_get_path() will cause installation to fail if they're added to an install profile's hook_profile_modules().
Is there any way round this?
(The issue on the module in question is #1506474: less module in an install profile.)
Comments
Comment #1
sunRelated: #1215376: Autoload and populate drupal_get_filename() with libraries.module during Drupal installation
Comment #2
tstoecklerYeah, I think between #1148246: Implement hook_requirements() to list libraries and #1215376: Autoload and populate drupal_get_filename() with libraries.module during Drupal installation there's not much actionable here.
Marking fixed, as the support request itself I guess is fixed, even though the underlying problem maybe is not.