You are here

function _filefield_file_widget_info in FileField 6.2

Retrieve information about the widgets that are going to preview and edit the single files that are uploaded in CCK's edit form. This function also sorts the widgets in the way that the administrator has specified for this field.

4 calls to _filefield_file_widget_info()
filefield_widget in ./filefield.widget.inc
Implementation of hook_widget() - the one in filefield.module is just there to include this one on demand.
filefield_widget_for_file in ./filefield.module
Determine which widget will be used for displaying the edit form for the given file.
filefield_widget_settings in ./filefield.module
Implementation of CCK's hook_widget_settings().
_filefield_supported_file_widgets in ./filefield.widget.inc
If not all file types might be handled by the enabled set of file widgets, return an array of widget titles specifying which ones are allowed for the given field. If a widget is enabled which handles all files, return an empty array.

File

./filefield.module, line 642

Code

function _filefield_file_widget_info($field_widget) {
  $file_widget_info = _filefield_file_extension_info_original('widget');
  return _filefield_file_extension_info($file_widget_info, $field_widget['file_widgets']);
}