You are here

function filefield_sources_info in FileField Sources 6

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

Load hook_filefield_sources_info() data from all modules.

4 calls to filefield_sources_info()
filefield_sources_field_process in ./filefield_sources.module
A #process callback to extend the filefield_widget element type.
filefield_sources_field_validate in ./filefield_sources.module
An #element_validate function to run source validations.
filefield_sources_field_value in ./filefield_sources.module
A #filefield_value_callback to run source value callbacks.
filefield_sources_list in ./filefield_sources.module
Create a list of FileField Sources by name, suitable for a select list.

File

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

Code

function filefield_sources_info() {
  $info = module_invoke_all('filefield_sources_info');
  drupal_alter('filefield_sources_info', $info);
  uasort($info, '_filefield_sources_sort');
  return $info;
}