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.
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21fi...
The documentation for the array returned from hook_filetransfer_info()
still contain the description for file and file path, which aren't used anymore from Drupal 8, since it uses the autoload. The description for those keys should be removed.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2783849-4.patch | 1.04 KB | Shashwat Purav |
Comments
Comment #2
apadernoThere is also #2038271: Convert hook_filetransfer_info() to plugin system, but it seems far from being deployed. I think we should still remove the description of the not used keys.
Comment #3
Shashwat Purav CreditAttribution: Shashwat Purav commentedComment #4
Shashwat Purav CreditAttribution: Shashwat Purav commentedCreated patch. The description for "file" and "file path" keys is removed.
Comment #5
Shashwat Purav CreditAttribution: Shashwat Purav at Iksula commentedComment #6
apadernoIt is quite smooth.
Comment #7
catchCommitted/pushed to all three 8.x branches, thanks!