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.
Now that #1964092: Rename project and namespace to 'Extended File Field' is done, this no longer makes much sense:
hook_extended_file_field_metadata_types()
We decided to rename this (and a lot of related code) to:
hook_extended_file_field_columns()
I'm on it.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1964926-2.hook-extended-file-field-columns.patch | 13.24 KB | dww |
#1 | 1964926-1.hook-extended-file-field-columns.patch | 13.49 KB | dww |
Comments
Comment #1
dwwComment #2
dwwRerolled given http://drupalcode.org/sandbox/jthorson/1964794.git/commit/5f7213a
Comment #3
jthorson CreditAttribution: jthorson commentedI'll tackle it from here. :)
Comment #4
dwwGood catch! Thanks. ;)
Comment #5
jthorson CreditAttribution: jthorson commentedGiven that we may be able to use the file_metadata_types() function in the upload widget, I'm inclined to put this off until #1962930: Make the file upload widget as flexible as the display formatter: alter hook, configurable table columns lands; just in case we find a new use where the word 'column' no longer makes sense in the hook invocation.
Also, both the metadata_types() and metadata() functions were renamed to columns(), so the patch in #2 results in a duplicate function fatal. Just posting here as a backup to my short memory. :)
Comment #6
jthorson CreditAttribution: jthorson commentedComment #7
dwwDefinitely won't fix given #1976144: Support 'opting out' of the display listing for each metadata type..