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.
The hook_requirements implementation was recently removed from API module and I noticed that apisite profile doesn't yet install the module due to this.
See #1242624 for the changes that make this possible.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1453756-install-api-module-1.patch | 2.33 KB | psynaptic |
Comments
Comment #1
psynaptic CreditAttribution: psynaptic commentedPatch attached which does the following:
You can test this using my fork on github.
Since API Site profile uses a stub make file, my fork also contains a change to the clone URL for the profile so that it downloads from my fork instead of drupal.org.
Comment #2
amonteroSame problem here.
Tested from psynaptic's repo issuing:
Now API is correctly enabled.
I think it's worth commiting at least to -dev to allow everyone continue working/helping more easily.