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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dww’s picture

Status: Active » Needs review
FileSize
13.49 KB
dww’s picture

jthorson’s picture

Version: » 7.x-1.x-dev
Assigned: dww » jthorson
Status: Needs review » Needs work
function extended_file_field_header($columns) {
  $columns = extended_file_field_columns();
  ...

I'll tackle it from here. :)

dww’s picture

Good catch! Thanks. ;)

jthorson’s picture

Given 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. :)

jthorson’s picture

Assigned: jthorson » Unassigned
dww’s picture

Status: Needs work » Closed (won't fix)