You are here

function filefield_sources_widget_settings in FileField Sources 6

A list of settings needed by FileField Sources module on widgets.

1 call to filefield_sources_widget_settings()
filefield_sources_widget_settings_alter in ./filefield_sources.module
Implements hook_widget_settings_alter().

File

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

Code

function filefield_sources_widget_settings($widget) {
  $settings = array(
    'filefield_sources',
  );
  $params = array(
    'save',
    $widget,
  );
  $settings = array_merge($settings, filefield_sources_invoke_all('settings', $params));
  return $settings;
}