You are here

function filefield_sources_theme in FileField Sources 6

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

Implements hook_theme().

File

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

Code

function filefield_sources_theme() {
  $params = array();
  $theme = filefield_sources_invoke_all('theme', $params);
  $theme['filefield_sources_list'] = array(
    'arguments' => array(
      'sources' => NULL,
    ),
  );
  return $theme;
}