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.
Hello,
Here is a follow up of the issue #2832155: Modules not detected as enabled on D8 site.
Now that the previous issue is closed, enabled modules/themes/profile are well detected on Drupal 8 site.
Now we need to detect disabled modules/themes/profiles.
I will try to provide a patch for that. It will change the _provision_system_query() in provision/platform/drupal/packages_8.inc
I found for modules and themes. I am searching for profiles how D8 detects its.
Comment | File | Size | Author |
---|---|---|---|
#3 | provision-d8_package_disabled-2850164-3.patch | 1.68 KB | Grimreaper |
Comments
Comment #2
GrimreaperComment #3
GrimreaperHello,
As a d8 site has only one profile activated at a time, and as _provision_system_query() function is only for modules and themes, here is a patch that fix the problem.
Thanks for the review.
Comment #4
GrimreaperThe only "problem" I see now is that test modules/themes (more globally the hidden modules/themes) are not detected on packages for a site but are detected on packages for a platform.
Comment #5
helmo CreditAttribution: helmo at Initfour websolutions commentedlooks ok
Comment #7
helmo CreditAttribution: helmo at Initfour websolutions commentedCommitted.
Comment #8
GrimreaperThanks @helmo for the commit.
Comment #9
colan