You are here

function filefield_sources_theme in FileField Sources 7

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

Implements hook_theme().

File

./filefield_sources.module, line 33
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;
}