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: http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
Describe the problem you have found:
No function body on hook_file_insert() doc... Needs one!
Comment | File | Size | Author |
---|---|---|---|
#6 | adding_hook_file_insert_example-1260162-6.patch | 906 bytes | Bès |
#2 | adding_hook_file_insert_example-1260162-2.patch | 1.15 KB | michaellenahan |
Comments
Comment #1
michaellenahan CreditAttribution: michaellenahan commentedi'm at drupalcon london doc sprint. working on this with kay_v.
Comment #2
michaellenahan CreditAttribution: michaellenahan commentedHello from DrupalCon in sunny South London.
We're at the doc sprint and have added an example.
Thanks to: bes and kay_v
Comment #3
Bès CreditAttribution: Bès commentedComment #5
jhodgdonSeems to have too many parens in this line:
Also, this bit at the end of the patch needs to be removed:
Comment #6
Bès CreditAttribution: Bès commentednew patch with the fix
Comment #7
jhodgdonLooks good, thanks for the follow-up! Should go into d7/d8 I think.
Comment #8
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x. Thanks!