You are here

function filefield_sources_filefield_sources_widgets in FileField Sources 8

Same name and namespace in other branches
  1. 6 filefield_sources.module \filefield_sources_filefield_sources_widgets()
  2. 7 filefield_sources.module \filefield_sources_filefield_sources_widgets()

Implements hook_filefield_sources_widgets().

This returns a list of widgets that are compatible with FileField Sources.

File

./filefield_sources.module, line 114
Extend FileField to allow files from multiple sources.

Code

function filefield_sources_filefield_sources_widgets() {
  return [
    'file_generic',
    'image_image',
  ];
}