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 am trying to remove the hard coding of "site", "platform", "server" in some places.
Currently hosting_available_tasks($type) requires $type, so you can't get a list of all tasks (which would let me get a list of all "objects" that have tasks as well.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1861896-hosting_available_tasks.patch | 1.12 KB | Jon Pugh |
Comments
Comment #1
Jon PughPatch attached.
The function now looks like this:
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedThanks very much for the patch, I've applied the changes to the hosting_available_tasks function and cleaned up the documentation and merged into 6.x-2.x.