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.
field_file_save_upload has a hook called file_upload. Use this instead of the more complicated method of capturing the file upload and saving the time stamp.
Also need to use field_file_delete's hook_file_delete to clean up.
Comment | File | Size | Author |
---|---|---|---|
#1 | imageinfo_cache-1038700.patch | 10.87 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedComment #2
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted.